impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3742: partitions DMLs for Kudu tables
Date Mon, 13 Mar 2017 21:45:06 GMT
Matthew Jacobs has posted comments on this change.

Change subject: IMPALA-3742: partitions DMLs for Kudu tables

Patch Set 7:

File be/src/runtime/

PS7, Line 51:     void* value = ctx->GetValue(row);
            :     PrimitiveType type = ctx->root()->type().type;
            :     WriteKuduRowValue(row_.get(), col, type, value);
probably a codegen opportunity here for later, can you leave a TODO?
File be/src/runtime/data-stream-partitioner.h:

PS7, Line 45:     switch (partition_.type) {
            :       case TPartitionType::HASH_PARTITIONED:
I'm sorry if I wasn't clear when we spoke last, but I think it is still better to keep the
classes separate and do this switching in the data-stream-sender. It's kind of unfortunate
to have to have shared members in this class among the different branches.

PS7, Line 63: UNKOWN

PS7, Line 87: next_partition_
rename to indicate used for R.R. only, e.g. next_unknown_partition_ or something
File testdata/workloads/functional-planner/queries/PlannerTest/kudu-update.test:

PS6, Line 64: [KUDU(]
> What should the behavior be? There isn't an alias to use in the above queri
I'm not sure, it's just interesting that it varies. Doesn't seem like a problem but it'd be
good for the FE reviewer to confirm this is OK.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic10b3295159354888efcde3df76b0edb24161515
Gerrit-PatchSet: 7
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Henry Robinson <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Thomas Tauber-Marshall <>
Gerrit-HasComments: Yes

View raw message