[
https://issues.apache.org/jira/browse/PHOENIX-1591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maryann Xue resolved PHOENIX-1591.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.3
> Return all rows instead of no rows if IN clause subquery gets optimized out
> from semi-join and returns empty result
> -------------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-1591
> URL: https://issues.apache.org/jira/browse/PHOENIX-1591
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.2
> Reporter: Maryann Xue
> Assignee: Maryann Xue
> Priority: Critical
> Fix For: 4.3, 3.3
>
> Attachments: 1591.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> For example,
> select * from T where pkcol in (select pkcol from T2)
> where pkcol is the only pk column of table T
> If the subquery returns empty result, the outer query will return all rows
> from table T.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)