SyntaxFix
Write A Post
Hire A Developer
Questions
Assuming your RDD[row] is called rdd, you can use:
val sqlContext = new SQLContext(sc) import sqlContext.implicits._ rdd.toDF()