You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2019/08/09 15:54:37 UTC
[impala] branch master updated: IMPALA-8334: [DOCS] Document the
keyval option for impala-shell config file
This is an automated email from the ASF dual-hosted git repository.
joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
The following commit(s) were added to refs/heads/master by this push:
new 6cfa65e IMPALA-8334: [DOCS] Document the keyval option for impala-shell config file
6cfa65e is described below
commit 6cfa65e1de836510e2f3a8aee1525d529c0d4ad2
Author: Alex Rodoni <ar...@cloudera.com>
AuthorDate: Wed Aug 7 15:36:18 2019 -0700
IMPALA-8334: [DOCS] Document the keyval option for impala-shell config file
Change-Id: Ic1067dec3444475c38eed857834d2cf24cb2b86b
Reviewed-on: http://gerrit.cloudera.org:8080/14034
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
---
docs/topics/impala_shell_options.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/topics/impala_shell_options.xml b/docs/topics/impala_shell_options.xml
index 8403e13..42e7567 100644
--- a/docs/topics/impala_shell_options.xml
+++ b/docs/topics/impala_shell_options.xml
@@ -622,6 +622,9 @@ under the License.
Any options you specify on the <cmdname>impala-shell</cmdname> command line override any corresponding
options within the configuration file.
</p>
+ <p>You can specify key-value pair options using <codeph>keyval</codeph>,
+ similar to the <codeph>--var</codeph> command-line option. For example,
+ <codeph>keyval=</codeph><varname>variable1</varname>=<varname>value1</varname>.</p>
<p>
The following example shows a configuration file that you might use during benchmarking tests. It sets
@@ -646,7 +649,7 @@ write_delimited=true
output_delimiter=,
output_file=/home/tester1/benchmark_results.csv
show_profiles=true
-</codeblock>
+keyval=msg1=hello,keyval=msg2=world</codeblock>
<p rev="2.11.0 IMPALA-5736">
The following example shows a configuration file that connects to a specific remote Impala node, runs a