Hello Juan Yu,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/2158
to look at the new patch set (#2).
Change subject: IMPALA-2093: Disallow NOT IN aggregate subqueries with a
constant lhs expr
......................................................................
IMPALA-2093: Disallow NOT IN aggregate subqueries with a constant lhs expr
This commit fixes the issue where an incorrect rewrite is performed for the
case of
uncorrelated aggregate subqueries participating in a NOT IN expr with a
constant. With
this commit we detect cases like this and throw an AnalysisException.
Change-Id: Ia05ebc70ef310a0ec6f00ae6ae1c5de8fbd50240
Reviewed-on: http://gerrit.cloudera.org:8080/2007
Reviewed-by: Dimitris Tsirogiannis <[email protected]>
Tested-by: Internal Jenkins
(cherry picked from commit bf6fabd1029ffb3f087076a786ef9864509daef6)
---
M fe/src/main/java/com/cloudera/impala/analysis/StmtRewriter.java
M fe/src/test/java/com/cloudera/impala/analysis/AnalyzeSubqueriesTest.java
2 files changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/58/2158/2
--
To view, visit http://gerrit.cloudera.org:8080/2158
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia05ebc70ef310a0ec6f00ae6ae1c5de8fbd50240
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.3.0_5.5.x
Gerrit-Owner: Bharath Vissapragada <[email protected]>
Gerrit-Reviewer: Dimitris Tsirogiannis <[email protected]>
Gerrit-Reviewer: Internal Jenkins
Gerrit-Reviewer: Juan Yu <[email protected]>