zl程序教程

您现在的位置是:首页 >  其他

当前栏目

【Impala教程】(三)Impala Shell命令

2023-09-14 09:13:32 时间

外部Shell命令
帮助
所有命令都可以通过help来查找并获知它的用途。
[root@cm-master shell]# impala-shell -h
Options:
-h, --help show this help message and exit
-i IMPALAD, --impalad=IMPALAD
host:port of impalad to connect to
[default: cm-master:21000]
-q QUERY, --query=QUERY
Execute a query without the shell [default: none]
-f QUERY_FILE, --query_file=QUERY_FILE
Execute the queries in the query file, delimited by ;
[default: none]
-o OUTPUT_FILE, --output_file=OUTPUT_FILE
If set, query results are written to the given file.
Results from multiple semicolon-terminated queries
will be appended to the same file [default: none]
-B, --delimited Output rows in delimited mode [default: False]
–print_header Print column names in delimited mode when pretty-
printed. [default: False]
–output_delimiter=OUTPUT_DELIMITER
Field delimiter to use for output in delimited mode<