Chapter 3
DataFrames
Section 2
High End Operations – Interpolating and Querying
There are two different methods for converting existing RDDs to DataFrames: inferring the schema using reflection, or programmatically specifying the schema. The former allows you to write more concise code, while the latter allows you to construct DataFrames when the columns and their data types are only revealed at run time. In this video, we will look at the Querying with the DataFrame API and SQL. - Explore Interoperating with RDDs - Learn querying with the DataFrame API - See querying with SQL