Hi guys, I have a list of BigDecimal obtained through SparkSQL from some Parquet files.
list: List[BigDecimal] = List(1015.00, 580.00, 290.00, 1160.00)
When I try to convert them to dataframe to visualize them using the
zeppelin context
val df = sc.parallelize(list).toDF("list_of_numbers")
I get the following error:
error: value toDF is not a member of org.apache.spark.rdd.RDD[BigDecimal]
If I map the values into double I get the same error.
Any ideas?
Thanks!
