hive
CLI tool for Apache Hive. More information: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli.
-
Start a Hive interactive shell:
hive
-
Run HiveQL:
hive -e "{{hiveql_query}}"
-
Run a HiveQL file with a variable substitution:
hive --define {{key}}={{value}} -f {{path/to/file.sql}}
-
Run a HiveQL with HiveConfig (e.g.
mapred.reduce.tasks=32
):
hive --hiveconf {{conf_name}}={{conf_value}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.