Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35789

Lateral join should only be used with subquery

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • SQL
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              allisonwang-db Allison Wang
              allisonwang-db Allison Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: