impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Bobrovytsky (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3586: Implement union passthrough
Date Fri, 10 Feb 2017 00:46:22 GMT
Taras Bobrovytsky has posted comments on this change.

Change subject: IMPALA-3586: Implement union passthrough

Patch Set 6:

File be/src/exec/

Line 133:       DCHECK(!IsInSubplan());
> Do we have coverage of that kind of plan shape though? If someone else come
Done. Added a Union + subplan test to Planner tests and end to end tests.
File be/src/exec/

Line 103:   if (!children_.empty()) RETURN_IF_ERROR(child(0)->Open(state));
> I think we need to reset 'child_batch_' here so that it has the correct 'ro
I don't think we need to reset here. It already gets reset on line 179 in this file.

Line 114:   if (UNLIKELY(child_idx_ >= children_.size() &&
> My preference is to remove this code if it's not needed for correctness and

Line 153:       // Even though the child is at eos, it's not OK to Close() it here, like we
do in
> I think this comment over-explains some resource management things that are
File fe/src/main/java/org/apache/impala/planner/

Line 266:       Preconditions.checkState(exprList.size() == slots.size());
> nullableTupleIds_ in child PlanNode is essentially part of the row layout a
File testdata/workloads/functional-planner/queries/PlannerTest/union.test:

Line 3103: ====
> Was this addressed?
Yes, added a union + join test with several joins in Planner and end to end tests. See PlannerTest/union.test
and QueryTest/union.test

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia8f6d5062724ba5b78174c3227a7a796d10d8416
Gerrit-PatchSet: 6
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Taras Bobrovytsky <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message