SQL
One use of Spark SQL is to execute SQL queries. Spark SQL can also be used to read data from an existing Hive installation. When running SQL from within another programming language the results will be returned as a Dataset/DataFrame.
You can also interact with the SQL interface using the command-line or over JDBC/ODBC.
1
$SPARK_HOME/bin/spark-sql
2
spark-sql>
3
​
Copied!
Last modified 1yr ago
Copy link