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

Incorrect error message pointing to UNSUPPORTED_GROUPING_EXPRESSION

    XMLWordPrintableJSON

Details

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

    Description

      Following sequence of queries produces UNSUPPORTED_GROUPING_EXPRESSION error:

      create table t1(a int, b int) using parquet;
      select grouping(a), dummy from t1 group by a with rollup; 

      However, the appropriate error should point the user to the invalid dummy column name.

      Attachments

        Issue Links

          Activity

            People

              nikolamand-db Nikola Mandic
              nikolamand-db Nikola Mandic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: