c21 commented on a change in pull request #34270:
URL: https://github.com/apache/spark/pull/34270#discussion_r728722950
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/grouping.scala
##########
@@ -217,9 +217,9 @@ case class Grouping(child: Expression) extends Expression
with Unevaluable
Examples:
> SELECT name, _FUNC_(), sum(age), avg(height) FROM VALUES (2, 'Alice',
165), (5, 'Bob', 180) people(age, name, height) GROUP BY cube(name, height);
Alice 0 2 165.0
- Bob 0 5 180.0
Alice 1 2 165.0
NULL 3 7 172.5
+ Bob 0 5 180.0
Review comment:
This change is needed for passing unit test, which reverts the change in
https://github.com/apache/spark/pull/32242/files .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]