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

Fix Between with ScalarSubqueries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      https://issues.apache.org/jira/browse/SPARK-46366 introduced a regression where types of queries like:

      SELECT *
      FROM t1
      WHERE (select max(t2.t2c)
             from t2 where t1.t1b = t2.t2b
            ) between 1 and 20; 

      would fail in optimizer rule.

      Attachments

        Issue Links

          Activity

            People

              mihailo.milosevic Mihailo Milosevic
              mihailo.milosevic Mihailo Milosevic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: