外部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<
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交