commands.sh

hive

all

Tool for Apache Hive.

More info →

Options (1)

-d, --defineboolean

Run a HiveQL file with a variable substitution

Example: hive {{[-d|--define]}} {{key}}={{value}} -f {{path/to/file.sql}}

Examples (4)

Start a Hive interactive shell

Run HiveQL

hive -e "hiveql_query"

Run a HiveQL file with a variable substitution

hive [-d|--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
made by @shridhargupta | data from tldr-pages