mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
hive: add page (#4632)
This commit is contained in:
parent
d8a1eabd93
commit
144017572b
1 changed files with 20 additions and 0 deletions
20
pages/common/hive.md
Normal file
20
pages/common/hive.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue