Dataframe, Datasets, Rdd.
val empDataFrameResult = empDataFrame.filter(employ => employ.getAs[Int]("age") > 24) Querying on non existing column Now, let’s see how DataFrame and Dataset behave differently when querying on non-existing column. Let’s query on a salary column which is not present in DataFrame. val