You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2017/02/01 04:04:53 UTC
[jira] [Updated] (HIVE-15763) Subquery in both LHS and RHS of
IN/NOT IN throws misleading error
[ https://issues.apache.org/jira/browse/HIVE-15763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vineet Garg updated HIVE-15763:
-------------------------------
Summary: Subquery in both LHS and RHS of IN/NOT IN throws misleading error (was: Subquery in both lhs and rsh of IN/NOT IN throws misleading error)
> 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
>
> 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)