[ 
https://issues.apache.org/jira/browse/HIVE-15763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-15763:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
           Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, Vineet!

> Subquery in both LHS and RHS of IN/NOT IN throws misleading error
> -----------------------------------------------------------------
>
>                 Key: HIVE-15763
>                 URL: https://issues.apache.org/jira/browse/HIVE-15763
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>              Labels: sub-query
>             Fix For: 2.2.0
>
>         Attachments: HIVE-15763.1.patch, HIVE-15763.2.patch
>
>
> Following query throws an error
> {code}select * from part where (select max(p_size) from part) IN (select 
> p_size from part);{code}
> Error
> {noformat}
> SemanticException [Error 10249]: Line 1:79 Unsupported SubQuery Expression 
> 'p_size': Only 1 SubQuery expression is supported.
> {noformat}
> Such queries should either be supported or should be detected and an 
> appropriate error message should be thrown.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to