This is an automated email from the ASF dual-hosted git repository. changchen pushed a commit to branch feature/ansi-ci-baseline in repository https://gitbox.apache.org/repos/asf/gluten.git
commit 2567081dd381f8c34ec824e07c0633d833896478 Author: Chang chen <[email protected]> AuthorDate: Fri Apr 10 00:20:35 2026 +0000 [GLUTEN-10134][VL] Exclude ANSI exception type mismatch tests in spark-ut (decimal overflow + cast overflow) 5 more tests excluded due to Velox throwing GlutenException instead of SparkArithmeticException — same root cause as previous excludes (S29-S34). GlutenDataFrameAggregateSuite: SPARK-28067, SPARK-35955, SPARK-28224 GlutenSQLQuerySuite: SPARK-39190/39208/39210, SPARK-40389 Co-Authored-By: Claude Opus 4 <[email protected]> --- .../scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala | 8 ++++++++ .../scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/gluten-ut/spark40/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala b/gluten-ut/spark40/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala index 276c5ce6c2..9a5deed287 100644 --- a/gluten-ut/spark40/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala +++ b/gluten-ut/spark40/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala @@ -894,6 +894,11 @@ class VeloxTestSettings extends BackendTestSettings { "SPARK-31620: agg with subquery (whole-stage-codegen = true)", "SPARK-31620: agg with subquery (whole-stage-codegen = false)" ) + // ANSI mode: exception type mismatch -- Velox throws GlutenException, test expects + // SparkArithmeticException. Tracked for future fix via exception type mapping. + .exclude("SPARK-28067: Aggregate sum should not return wrong results for decimal overflow") + .exclude("SPARK-35955: Aggregate avg should not return wrong results for decimal overflow") + .exclude("SPARK-28224: Aggregate sum big decimal overflow") enableSuite[GlutenDataFrameAsOfJoinSuite] enableSuite[GlutenDataFrameComplexTypeSuite] enableSuite[GlutenDataFrameFunctionsSuite] @@ -1064,6 +1069,9 @@ class VeloxTestSettings extends BackendTestSettings { " when WSCG is off") .exclude("SPARK-39175: Query context of Cast should be serialized to executors" + " when WSCG is off") + .exclude("SPARK-39190,SPARK-39208,SPARK-39210: Query context of decimal overflow error" + + " should be serialized to executors when WSCG is off") + .exclude("SPARK-40389: Don't eliminate a cast which can cause overflow") enableSuite[GlutenSQLQueryTestSuite] enableSuite[GlutenStatisticsCollectionSuite] // The output byte size of Velox is different diff --git a/gluten-ut/spark41/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala b/gluten-ut/spark41/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala index 5187666241..a94f2df1e5 100644 --- a/gluten-ut/spark41/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala +++ b/gluten-ut/spark41/src/test/scala/org/apache/gluten/utils/velox/VeloxTestSettings.scala @@ -883,6 +883,11 @@ class VeloxTestSettings extends BackendTestSettings { "SPARK-31620: agg with subquery (whole-stage-codegen = true)", "SPARK-31620: agg with subquery (whole-stage-codegen = false)" ) + // ANSI mode: exception type mismatch -- Velox throws GlutenException, test expects + // SparkArithmeticException. Tracked for future fix via exception type mapping. + .exclude("SPARK-28067: Aggregate sum should not return wrong results for decimal overflow") + .exclude("SPARK-35955: Aggregate avg should not return wrong results for decimal overflow") + .exclude("SPARK-28224: Aggregate sum big decimal overflow") enableSuite[GlutenDataFrameAsOfJoinSuite] enableSuite[GlutenDataFrameComplexTypeSuite] enableSuite[GlutenDataFrameFunctionsSuite] @@ -1065,6 +1070,9 @@ class VeloxTestSettings extends BackendTestSettings { " when WSCG is off") .exclude("SPARK-39175: Query context of Cast should be serialized to executors" + " when WSCG is off") + .exclude("SPARK-39190,SPARK-39208,SPARK-39210: Query context of decimal overflow error" + + " should be serialized to executors when WSCG is off") + .exclude("SPARK-40389: Don't eliminate a cast which can cause overflow") enableSuite[GlutenSQLQueryTestSuite] enableSuite[GlutenStatisticsCollectionSuite] // The output byte size of Velox is different --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
