stefankandic commented on code in PR #44538:
URL: https://github.com/apache/spark/pull/44538#discussion_r1441850928
##########
sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala:
##########
@@ -2125,6 +2126,34 @@ class DataFrameAggregateSuite extends QueryTest
Seq(Row(1))
)
}
+
+ test("SPARK-46536 Support GROUP BY CalendarIntervalType") {
+ val numRows = 50
+ val configurations = Seq(
+ "spark.sql.test.forceApplyHashAggregate",
+ "spark.sql.test.forceApplyObjectHashAggregate",
+ "spark.sql.test.forceApplySortAggregate"
+ )
+
+ for (conf <- configurations) {
+ withSQLConf(conf -> "true") {
Review Comment:
Added new config which also sets fallback threshold to 1, let me know if
that is not enough
--
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]