Vladimir Golubev created SPARK-51964:
----------------------------------------

             Summary: Correctly resolve attributes from hidden output in ORDER 
BY and HAVING on top of an Aggregate
                 Key: SPARK-51964
                 URL: https://issues.apache.org/jira/browse/SPARK-51964
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Vladimir Golubev


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to