Is it possible to create Dataset from Dataframe column in Spark 2.0? I have a following issue: I want to read some data from parquet data partitioned by date and after that transform one of columns to Dataset. Exmaple:
val frame = spark.read.parquet(path).select($"date", $"object".as[MyObjectType]).filter($"date" > "2016-10-01")
Now, I need to transform second column to Dataset[MyObjectType]
and don't understand how i can do this. MyObjectType is scala product type