Alex Behm has posted comments on this change.

Change subject: IMPALA-5562: Only recomputeMemLayout() if tuple has a layout.
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/7264/1/fe/src/main/java/org/apache/impala/planner/SingleNodePlanner.java
File fe/src/main/java/org/apache/impala/planner/SingleNodePlanner.java:

Line 245:         collSlotRef.getDesc().getParent().recomputeMemLayout();
> I thought to replace the Precondition with
Works for me either way. Switched to your suggestion.

If the query requires a tuple to have a mem layout, then that will be detected 
in toThrift() of the plan, so I don't think the Preconditions check in 
recomputeMemLayout() would give us any additional validation that we would not 
otherwise have.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I08548c6bfa7dbf4655e55636605bebb89d2a2239
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Alex Behm <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Lars Volker <[email protected]>
Gerrit-HasComments: Yes

Reply via email to