Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35553 Improve correlated subqueries
  3. SPARK-36112

Enable DecorrelateInnerQuery for IN/EXISTS subqueries

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 4.0.0
    • SQL

    Description

      Currently, `DecorrelateInnerQuery` is only enabled for scalar and lateral subqueries. We should enable `DecorrelateInnerQuery` for IN/EXISTS subqueries. Note we need to add the logic to rewrite domain joins in `RewritePredicateSubquery`.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: