[ 
https://issues.apache.org/jira/browse/SPARK-35789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364425#comment-17364425
 ] 

Apache Spark commented on SPARK-35789:
--------------------------------------

User 'allisonwang-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/32937

> Lateral join should only be used with subquery
> ----------------------------------------------
>
>                 Key: SPARK-35789
>                 URL: https://issues.apache.org/jira/browse/SPARK-35789
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Allison Wang
>            Priority: Major
>
> This is a follow up for SPARK-34382. Currently the keyword LATERAL can be 
> used in front of a `relationPrimary`, which consists of more than just 
> subqueries, for example:
> select * from t1, lateral t2
> Such syntax is not allowed in Postgres. LATERAL should only be used in front 
> of a subquery.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to