You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Greg Rahn (JIRA)" <ji...@apache.org> on 2017/07/02 01:29:00 UTC

[jira] [Closed] (IMPALA-1901) Support subqueries in disjunctions

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

Greg Rahn closed IMPALA-1901.
-----------------------------
    Resolution: Duplicate

Duplicate of IMPALA-5226

> Support subqueries in disjunctions
> ----------------------------------
>
>                 Key: IMPALA-1901
>                 URL: https://issues.apache.org/jira/browse/IMPALA-1901
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 2.1.1
>            Reporter: bharath v
>            Priority: Minor
>              Labels: sql-language
>
> For example a query like
> select count(*) from t1 where 
> ( t1.a > 5 and not exists (select * from t2 where t1.a=t2.b)) 
> or 
> ( t1.a > 5 and not exists (select * from t2 where t1.a=t2.b));
> Currently this gives,
> ERROR: AnalysisException: Subqueries in OR predicates are not supported



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)