Spark Programming Spark SQL

• The table referenced in a SQL/HiveQL statement must have an entry in a Hive metastore. • If not, can create a temporary table using the registerTempTable method provided by the DataFrame class. • The sql method returns result as a DataFrame, for displaying the returned result on a … ................
................