impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Kornacker (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3126: Conservative assignment of inner-join On-clause predicates.
Date Wed, 07 Dec 2016 07:06:14 GMT
Marcel Kornacker has posted comments on this change.

Change subject: IMPALA-3126: Conservative assignment of inner-join On-clause predicates.

Patch Set 3: Code-Review+2

File fe/src/main/java/org/apache/impala/analysis/

Line 1340:    *     join of the corresponding On-clause and the top-most full-outer join below
"must be assigned between": i don't find that particularly useful, because this function isn't
aware of the whole tree, just one node in it.

Line 1348:    *     lowest node that materializes the required tuple ids, unless they reference
i think you can remove the 'lowest node' reference here, since this is only about deciding
whether a particular tree node can evaluate an expr. the logic to ensure it's the lowest one
isn't evident in this function.

Line 1366:         // evaluate it the join that the On-clause belongs to.
"evaluate it at ..."?
File testdata/workloads/functional-planner/queries/PlannerTest/outer-joins.test:

Line 900:   on =
> It has 4 joins and 5 tables and is exactly the same query as reported in th
i think we should stick to a minimal repro, ie, 2 joins.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Idf45323ed9102ffb45c9d94a130ea3692286f215
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Alex Behm <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-HasComments: Yes

View raw message