impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Volker (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4403: Implement SHOW RANGE PARTITIONS for Kudu tables
Date Wed, 07 Dec 2016 16:07:10 GMT
Lars Volker has posted comments on this change.

Change subject: IMPALA-4403: Implement SHOW RANGE PARTITIONS for Kudu tables

Patch Set 1:


Thank you for the reviews. Please see PS2.
File common/thrift/Frontend.thrift:

Line 182:   1: required bool is_show_col_stats
> replace the two flags by an enum and use the thrift enum in the stmt code?
File fe/src/main/java/org/apache/impala/analysis/

Line 64:       if (kuduTable.getPrimaryKeyColumnNames().isEmpty()) {
> Not possible. Kudu tables must have PKs.
File fe/src/main/java/org/apache/impala/analysis/

Line 31:   protected final boolean isShowColStats_;
> The subclasses and flags are getting kind of confusing.
I gave this a try with enums and like how it turned out. It also allows for easier extension
in the future.
File fe/src/main/java/org/apache/impala/catalog/

Line 432:       for (String partition: partitions) {
> Do you know if the partitions are sorted? Might be good to do that, otherwi
Yes, the comment in the kudu client API explains that they are sorted. I added a comment here.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Idf5b2fdd02938a42fa59ec98884e4ac915dd1f65
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Lars Volker <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-HasComments: Yes

View raw message