You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Allison Wang (Jira)" <ji...@apache.org> on 2021/06/16 17:19:00 UTC

[jira] [Created] (SPARK-35789) Lateral join should only be used with subquery

Allison Wang created SPARK-35789:
------------------------------------

             Summary: 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


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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org