mirror of
https://github.com/apache/impala.git
synced 2026-01-07 18:02:33 -05:00
This commit fixes an issue where wrong results are returned if an EXISTS subquery contains a HAVING clause and non-equality correlated binary predicates. This case does not have a valid rewrite as the HAVING clause needs to be applied after the correlated predicates have been evaluated. With this fix, we detect cases like this and throw an AnalysisException. Change-Id: I159f956e2b01f408601829b5d2afcf11d76bedcd Reviewed-on: http://gerrit.cloudera.org:8080/1927 Reviewed-by: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com> Tested-by: Internal Jenkins
16 KiB
16 KiB