impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attila Jeges (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-2181: Add query option levels for display
Date Fri, 03 Nov 2017 11:20:08 GMT
Attila Jeges has posted comments on this change. ( )

Change subject: IMPALA-2181: Add query option levels for display

Patch Set 2:

File be/src/service/
PS5, Line 618: 
Probably I'm missing something here, but shouldn't this be ADVANCED?
File shell/
             :   PRINT_ALL_OPTIONS = 2
> I found it more verbose to have 2 const instead of a bool.
Ok, I see your point. 

You could also put the PRINT_* members into a separate class to emulate enums (see class CmdStatus
in L61-L69). Same goes for QUERY_OPTION_* members. On the other hand this might be an overkill,
so use your best judgement :)
File tests/shell/
PS2, Line 351:    result = shell1.get_result()
             :     assert "Query options (defaults shown in []):" in result.stdout
             :     assert "ABORT_ON_ERROR" in result.stdout
> No. SUPPORT_START_OVER as I discussed with Tim is a tricky one and we don't
Thanks for the explanation.

I still find confusing that in impala::PopulateQueryOptionLevels() the query option level
for SUPPORT_START_OVER is explicitly set to REGULAR. Shouldn't it be ADVANCED?

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I75720d0d454527e1a0ed19bb43cf9e4f018ce1d1
Gerrit-Change-Number: 8447
Gerrit-PatchSet: 2
Gerrit-Owner: Gabor Kaszab <>
Gerrit-Reviewer: Attila Jeges <>
Gerrit-Reviewer: Csaba Ringhofer <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Gabor Kaszab <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Laszlo Gaal <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Reviewer: Zoltan Borok-Nagy <>
Gerrit-Comment-Date: Fri, 03 Nov 2017 11:20:08 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message