You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hovell (JIRA)" <ji...@apache.org> on 2018/07/18 11:14:00 UTC

[jira] [Updated] (SPARK-24838) Support uncorrelated IN/EXISTS subqueries for more operators

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

Herman van Hovell updated SPARK-24838:
--------------------------------------
    Labels: spree  (was: )

> Support uncorrelated IN/EXISTS subqueries for more operators 
> -------------------------------------------------------------
>
>                 Key: SPARK-24838
>                 URL: https://issues.apache.org/jira/browse/SPARK-24838
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Qifan Pu
>            Priority: Major
>              Labels: spree
>
> Currently, CheckAnalysis allows IN/EXISTS subquery only for filter operators. Running a query:
> {{select name in (select * from valid_names)}}
> {{from all_names}}
> returns error:
> {code:java}
> Error in SQL statement: AnalysisException: IN/EXISTS predicate sub-queries can only be used in a Filter
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org