Dataframe, Datasets, Rdd.
empDataFrame.rdd rddFromDataFrame: org.apache.spark.rdd.RDD[org.apache.spark.sql.Row] = MapPartitionsRDD[11] at rdd at <console>:25 It returns a Row of RDD and if we try to do any normal operation on RDD we should not be able to do it in a normal way for instance, rddFromDataFrame.map(employ =>