Taras Bobrovytsky has posted comments on this change.

Change subject: IMPALA-3586: Implement union passthrough
......................................................................


Patch Set 17:

(8 comments)

http://gerrit.cloudera.org:8080/#/c/5816/17//COMMIT_MSG
Commit Message:

Line 19: A new query option DISABLE_UNION_PASSTHROUGH was added in this patch
> No more query option.
Done


http://gerrit.cloudera.org:8080/#/c/5816/17/be/src/exec/union-node.h
File be/src/exec/union-node.h:

Line 32: class RuntimeState;
> remove
Done


Line 70:   /// evaluating its exprs.
> Just or clarity it might help to spell out what its value is when all child
Done


Line 71:   int first_materialized_child_idx_;
> make const and set in c'tor
Done


Line 100:   /// call on the child. Sets 'passthrough_todo_' to false when all 
passthrough children
> update comments to not mention 'todo'
Good catch, done.


http://gerrit.cloudera.org:8080/#/c/5816/17/fe/src/main/java/org/apache/impala/planner/UnionNode.java
File fe/src/main/java/org/apache/impala/planner/UnionNode.java:

Line 77:   // Index of the first non-passthrough child; i.e. a child that needs 
materializing and
> Shrink to: // Index of the first non-passthrough child.
Done


Line 183:    * Re-order the union's operands such that the passthrough operands 
come before the
> I'd say the main purpose of this function is to compute passthrough. The re
Done


Line 190:       isChildPassthrough.add(computePassthrough(
> You could rename this computePassthrough() to isChildPassthrough()
Done


-- 
To view, visit http://gerrit.cloudera.org:8080/5816
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia8f6d5062724ba5b78174c3227a7a796d10d8416
Gerrit-PatchSet: 17
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Taras Bobrovytsky <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Taras Bobrovytsky <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-HasComments: Yes

Reply via email to