peter-toth commented on a change in pull request #31913:
URL: https://github.com/apache/spark/pull/31913#discussion_r600386630
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
##########
@@ -4140,6 +4140,20 @@ class SQLQuerySuite extends QueryTest with
SharedSparkSession with AdaptiveSpark
}
}
}
+
+ test("SPARK-34581: Don't optimize out grouping expressions from aggregate
expressions") {
+ withTempView("t") {
+ Seq[Integer](null, 1, 2, 3, null).toDF("id").createOrReplaceTempView("t")
+
+ val df = spark.sql(
Review comment:
It is, moved in
https://github.com/apache/spark/pull/31913/commits/09f1a85d8312e56c886b31f26ae87d245288d2b9
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]