This is an automated email from the ASF dual-hosted git repository.
zhouyuan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 97cd0dcd2d [GLUTEN-4853][VL] Re-enable Spark 4.0/4.1 aggregate
function UTs (#13031)
97cd0dcd2d is described below
commit 97cd0dcd2d7b861ba52dfca9665d452f7385c2ca
Author: Kaifei Yi <[email protected]>
AuthorDate: Fri Sep 18 21:07:00 2026 +0800
[GLUTEN-4853][VL] Re-enable Spark 4.0/4.1 aggregate function UTs (#13031)
---
.../spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala | 6 ++----
.../spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git
a/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
b/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
index b939c65f34..0dd56ae157 100644
---
a/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
+++
b/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
@@ -23,8 +23,7 @@ import org.apache.spark.sql.internal.SQLConf
class GlutenSQLAggregateFunctionSuite extends GlutenSQLTestsTrait {
- // TODO: fix in Spark-4.0
- ignoreGluten("GLUTEN-4853: The result order is reversed for count and count
distinct") {
+ testGluten("GLUTEN-4853: The result order is reversed for count and count
distinct") {
val query =
"""
|select count(distinct if(sex = 'x', id, null)) as uv, count(if(sex =
'x', id, null)) as pv
@@ -36,8 +35,7 @@ class GlutenSQLAggregateFunctionSuite extends
GlutenSQLTestsTrait {
assert(getExecutedPlan(df).count(_.isInstanceOf[HashAggregateExecBaseTransformer])
== 4)
}
- // TODO: fix in Spark-4.0
- ignoreGluten("Return NaN or null when dividing by zero") {
+ testGluten("Return NaN or null when dividing by zero") {
val query =
"""
|select skewness(value), kurtosis(value)
diff --git
a/gluten-ut/spark41/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
b/gluten-ut/spark41/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
index b939c65f34..0dd56ae157 100644
---
a/gluten-ut/spark41/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
+++
b/gluten-ut/spark41/src/test/scala/org/apache/spark/sql/execution/GlutenSQLAggregateFunctionSuite.scala
@@ -23,8 +23,7 @@ import org.apache.spark.sql.internal.SQLConf
class GlutenSQLAggregateFunctionSuite extends GlutenSQLTestsTrait {
- // TODO: fix in Spark-4.0
- ignoreGluten("GLUTEN-4853: The result order is reversed for count and count
distinct") {
+ testGluten("GLUTEN-4853: The result order is reversed for count and count
distinct") {
val query =
"""
|select count(distinct if(sex = 'x', id, null)) as uv, count(if(sex =
'x', id, null)) as pv
@@ -36,8 +35,7 @@ class GlutenSQLAggregateFunctionSuite extends
GlutenSQLTestsTrait {
assert(getExecutedPlan(df).count(_.isInstanceOf[HashAggregateExecBaseTransformer])
== 4)
}
- // TODO: fix in Spark-4.0
- ignoreGluten("Return NaN or null when dividing by zero") {
+ testGluten("Return NaN or null when dividing by zero") {
val query =
"""
|select skewness(value), kurtosis(value)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]