You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2015/01/21 04:42:34 UTC
[jira] [Resolved] (PHOENIX-1591) Return all rows instead of no rows
if IN clause subquery gets optimized out from semi-join and returns empty
result
[ 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)