hive Command Examples

CLI tool for Apache Hive. More information: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli.

hive

hive -e "{{hiveql_query}}"

hive --define {{key}}={{value}} -f {{path/to/file.sql}}

hive --hiveconf {{conf_name}}={{conf_value}}