Alex Behm has posted comments on this change.

Change subject: IMPALA-3071: Fix assignment of On-clause predicates belonging 
to an inner join.
......................................................................


Patch Set 2:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/2309/2/fe/src/main/java/com/cloudera/impala/analysis/Analyzer.java
File fe/src/main/java/com/cloudera/impala/analysis/Analyzer.java:

Line 236:     public final Map<ExprId, TableRef> ijClauseByConjunct = 
Maps.newHashMap();
> let's coalesce oj/sj/ijClauseByConjunct into joinClauseByConjunct, the tabl
As discussed leaving this as is.


Line 1150:     if (tids.size() > 1 || isOuterJoined(tids.get(0))
> Let's talk f2f about how to proceed here. Notice how the existing function 
As discussed, leaving as is.


Line 1308:           return 
tupleIds.containsAll(onClauseTableRef.getAllTupleIds());
> isn't this the same as 'return false;'?
As discussed, leaving as is.


http://gerrit.cloudera.org:8080/#/c/2309/2/testdata/workloads/functional-planner/queries/PlannerTest/outer-joins.test
File testdata/workloads/functional-planner/queries/PlannerTest/outer-joins.test:

Line 712: # that references an outer joined tuple.
> more concretely: that the on-clause predicate is not a join predicate.
Ad discussed, I modified the comment and tests.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iffef7718679d48f866fa90fd3257f182cbb385ae
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.5.0_5.7.0
Gerrit-Owner: Alex Behm <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-HasComments: Yes

Reply via email to