Database Reference
In-Depth Information
Impala-shell
command-line
options
with brief explanations
Impala-shell can be launched with other optional parameters to either perform a spe-
cific action or to provide more information about the action. These command line op-
tions are used along with the impala-shell command as a parameter. Some of
these options are created to provide assistance with impala-shell usage, while others
are designed to perform a specific action. For example, the -q or -query option can
run a query directly outside the shell and show the output directly on console win-
dows, as shown in the following screenshot:
Another example is to use the -d option with a specific database name, as shown in
the following screenshot. Once impala-shell starts, it connects to impalad at localhost
through the default port 21000 and uses the selected database. In the shell we can
call any command specific to the database used, which is also shown in the following
screenshot:
Search WWH ::




Custom Search