Spark Programming Spark SQL

The DataFrame class supports commonly used RDD operations such as map, flatMap, foreach, foreachPartition, mapPartition, coalesce, and repartition. • These methods work similar to the operations in the RDD class. • if you need access to other RDD methods that are not present in the DataFrame class, can get an RDD from a DataFrame. ................
................