Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37935 Migrate onto error classes
  3. SPARK-42044

Fix wrong error message for `MUST_AGGREGATE_CORRELATED_SCALAR_SUBQUERY`

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • SQL
    • None

    Description

      The current error message

      "Correlated scalar subqueries in the GROUP BY clause must also be in the aggregate expressions<treeNode>"

      is incorrect since it's not related with group by clause.

      We should fix it.

      Attachments

        Activity

          People

            itholic Haejoon Lee
            itholic Haejoon Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: