You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2018/09/06 13:34:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16605775#comment-16605775 ]
Wenchen Fan commented on SPARK-24838:
-------------------------------------
It's too late for 2.4, I'm retargeting it to 3.0, thanks!
> 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
>
> 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