impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Csaba Ringhofer (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5736: Add impala-shell argument to set default query options
Date Thu, 14 Sep 2017 13:30:41 GMT
Csaba Ringhofer has posted comments on this change.

Change subject: IMPALA-5736: Add impala-shell argument to set default query options

Patch Set 1:

Commit Message:

PS1, Line 16: .impalarc:
            : [impala]
            : query_options=EXPLAIN_LEVEL=2,MT_DOP=2
> This might be hard to do, but I think
I think that it would be easier to do it like this:

A similar config group could be created for variables too.

If we decide to do it this way, then we should also change the overwrite behavior, because
config groups are typically not overwritten as whole, but as separate configs.
File shell/

PS1, Line 160:   parser.add_option("--var", dest="keyval", action="append",
             :                     help="Define variable(s) to be used within the Impala session."
             :                          " It must follow the pattern \"KEY=VALUE\","
             :                          " KEY starts with an alphabetic character and"
             :                          " contains alphanumeric characters or underscores.")
             :   parser.add_option("--query_options", dest="query_options",
             :                     help="Sets default query options. The format is comma separated"
> A little bit of bike-shedding:
We have talked about this with Lars, and decided to stick with the comma separated strings.

It is also an option to support both formats.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I26a3b67230c80a99bd246b6af205d558fec9a986
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Csaba Ringhofer <>
Gerrit-Reviewer: Csaba Ringhofer <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Philip Zeyliger <>
Gerrit-HasComments: Yes

View raw message