Alex Behm has uploaded a new patch set (#2). Change subject: IMPALA-3065: Register !empty() predicates as On-clause conjuncts. ......................................................................
IMPALA-3065: Register !empty() predicates as On-clause conjuncts. The bug was that we incorrectly registered NotEmptyPredicates with analyzer.registerConjunct() which registers the predicates as originating from the HAVING-clause. However, a generated !empty() predicate should only affect the result of the join of its corresponding rhs CollectionTableRef, and not the whole FROM clause. Change-Id: I7236940057f6468b085ffb2c228c3146b102cea7 --- M fe/src/main/java/com/cloudera/impala/analysis/CollectionTableRef.java M testdata/workloads/functional-planner/queries/PlannerTest/nested-collections.test 2 files changed, 48 insertions(+), 15 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/65/2365/2 -- To view, visit http://gerrit.cloudera.org:8080/2365 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I7236940057f6468b085ffb2c228c3146b102cea7 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]>
