Fredy Wijaya has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12823
Change subject: IMPALA-8330: Impala shell config file should use flag names ...................................................................... IMPALA-8330: Impala shell config file should use flag names This patch changes the file format in Impala shell config file to accept both short and long flag names instead of dest names because dest names are internal to Impala shell. This patch does not change the format and behavior of Impala shell config file with [impala.query_options] section. Format: [impala] flag_name=flag_value Example: [impala] ; This is long flag. query=select 1 ; This is short flag. Q=DEFAULT_FILE_FORMAT=parquet ; Flags can be repeated. var=msg1=hello var=msg2=world Testing: - Ran all E2E shell tests Change-Id: Ic43603c1b538af08fddcab1b2c1f6ad1af1a6cb9 --- M shell/impala_shell.py M shell/option_parser.py M tests/shell/good_impalarc 3 files changed, 27 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/23/12823/2 -- To view, visit http://gerrit.cloudera.org:8080/12823 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ic43603c1b538af08fddcab1b2c1f6ad1af1a6cb9 Gerrit-Change-Number: 12823 Gerrit-PatchSet: 2 Gerrit-Owner: Fredy Wijaya <[email protected]>
