I am using spark-sql-2.4.1version with java8
I have a scenario where i have to collect/reduce calculated datasets into common/result dataset, but i am getting an error