[
https://issues.apache.org/jira/browse/HIVE-16432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesus Camacho Rodriguez reassigned HIVE-16432:
----------------------------------------------
Assignee: Krisztian Kasa (was: Vineet Garg)
> Improve plan for subquery with EXISTS
> -------------------------------------
>
> Key: HIVE-16432
> URL: https://issues.apache.org/jira/browse/HIVE-16432
> Project: Hive
> Issue Type: Sub-task
> Components: Logical Optimizer
> Reporter: Vineet Garg
> Assignee: Krisztian Kasa
> Priority: Major
>
> If an EXISTS/NOT EXISTS subquery contains an aggregate (with no group by or
> windowing) it is guaranteed to produce at least one row. Since such subquery
> in WHERE clause tests for existence of row it could be replaced by true
> during compile time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)