Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor edits in Hive CLI Functionality Support

...

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 NameSupported in New Hive CLIDescription
hive.cli.print.headerYes

Whether to print the names of the columns in query output. HIVE-11624

hive.cli.errors.ignoreYesWhether to force execution of a script when errors occurred. HIVE-11191
hive.cli.promptYesCommand line prompt configuration value. Other hiveconf can be used in this configuration value. HIVE-11226
hive.cli.pretty.output.num.colsNoYesThe number of columns to use when formatting output generated by the DESCRIBE PRETTY table_name command. HIVE-11779
hive.cli.print.current.dbNoYesWhether 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.

...