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

Correctly resolve attributes from hidden output in ORDER BY and HAVING on top of an Aggregate in single-pass Analyzer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • SQL

    Description

      We can only access attributes from grouping expressions and main Aggregate output, unless we are resolving `AggregateExpression`. In the latter case we can actually access the whole hidden output.

      Attachments

        Issue Links

          Activity

            People

              vladimir.golubev Vladimir Golubev
              vladimir.golubev Vladimir Golubev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: