...
We use a new Hive CLI on top of Beeline to implement the Hive CLI functionality. In case Since some existing Hive CLI features are not supported in the new Hive CLI, we are able to use using the old Hive client implementation by default. Use the following command to use the deprecated old specify the new Beeline-based Hive CLI tool.:
No Format |
---|
export USE_DEPRECATED_CLI=truefalse |
Note that the log4j configuration file has been changed to "beeline-log4j.properties".
...
Configuration Name | Supported in New Hive CLI | Description |
---|---|---|
hive.cli.print.header | Yes | Whether to print the names of the columns in query output. HIVE-11624 |
hive.cli.errors.ignore | Yes | Whether to force execution of a script when errors occurred. HIVE-11191 |
hive.cli.prompt | Yes | Command line prompt configuration value. Other hiveconf can be used in this configuration value. HIVE-11226 |
hive.cli.pretty.output.num.cols | Yes | The number of columns to use when formatting output generated by the DESCRIBE PRETTY table_name command. HIVE-11779 |
hive.cli.print.current.db | Yes | Whether to include the current database in the Hive prompt. HIVE-11637 |
Performance Impacts
Using the JMH to measure the average time cost when retrieving a data set, we have the following results.
...