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

Add RewriteLateralSubquery rule into nonExcludableRules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.2.1
    • SQL
    • None

    Description

      Lateral Join has no meaning without rule `RewriteLateralSubquery`. So now if we set `spark.sql.optimizer.excludedRules=org.apache.spark.sql.catalyst.optimizer.RewriteLateralSubquery`, the lateral join query will fail with:

      java.lang.AssertionError: assertion failed: No plan for LateralJoin lateral-subquery#218
      

      Attachments

        Activity

          People

            ulysses XiDuo You
            ulysses XiDuo You
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: