Spark - spark-sql cli

> Database > Spark > Spark - Sql

1 - About

The Spark SQL CLI is a sparl sql client tool to run the Hive metastore service in local mode and execute queries input from the command line.

The Spark SQL CLI cannot talk to the Thrift JDBC server.

Advertising

3 - Management

3.1 - Start

To start the Spark SQL CLI, run the following in the Spark directory:

./bin/spark-sql

See Spark hive configuration