This is an automated email from the ASF dual-hosted git repository.

hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 95fb992a06 [CORE] Test: Fix 
includeAllGlutenTests/excludeAllGlutenTests to use prefix matching (#11345)
95fb992a06 is described below

commit 95fb992a06b6d4dd9b72c5332e3ab5c7227828d9
Author: Chenghao Lyu <[email protected]>
AuthorDate: Mon Jan 12 01:17:16 2026 -0800

    [CORE] Test: Fix includeAllGlutenTests/excludeAllGlutenTests to use prefix 
matching (#11345)
---
 .../apache/gluten/utils/BackendTestSettings.scala  |  4 ++--
 .../velox/VeloxAdaptiveQueryExecSuite.scala        |  3 ++-
 .../velox/VeloxAdaptiveQueryExecSuite.scala        |  3 ++-
 .../velox/VeloxAdaptiveQueryExecSuite.scala        |  3 ++-
 .../ClickHouseAdaptiveQueryExecSuite.scala         | 24 ++++++++++++++--------
 .../velox/VeloxAdaptiveQueryExecSuite.scala        |  3 ++-
 .../velox/VeloxAdaptiveQueryExecSuite.scala        |  9 +++++---
 7 files changed, 32 insertions(+), 17 deletions(-)

diff --git 
a/gluten-ut/common/src/test/scala/org/apache/gluten/utils/BackendTestSettings.scala
 
b/gluten-ut/common/src/test/scala/org/apache/gluten/utils/BackendTestSettings.scala
index 40a2c15b82..fa51e5ccc2 100644
--- 
a/gluten-ut/common/src/test/scala/org/apache/gluten/utils/BackendTestSettings.scala
+++ 
b/gluten-ut/common/src/test/scala/org/apache/gluten/utils/BackendTestSettings.scala
@@ -146,12 +146,12 @@ abstract class BackendTestSettings {
       }
 
       def includeAllGlutenTests(): SuiteSettings = {
-        settings.include(GLUTEN_TEST)
+        settings.includeByPrefix(GLUTEN_TEST)
         settings
       }
 
       def excludeAllGlutenTests(): SuiteSettings = {
-        settings.exclude(GLUTEN_TEST)
+        settings.excludeByPrefix(GLUTEN_TEST)
         settings
       }
     }
diff --git 
a/gluten-ut/spark32/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
 
b/gluten-ut/spark32/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
index e7f458bca9..69da588c35 100644
--- 
a/gluten-ut/spark32/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
+++ 
b/gluten-ut/spark32/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
@@ -847,7 +847,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
+  // FIXME
+  ignoreGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
     def hasRepartitionShuffle(plan: SparkPlan): Boolean = {
       find(plan) {
         case s: ShuffleExchangeLike =>
diff --git 
a/gluten-ut/spark33/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
 
b/gluten-ut/spark33/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
index e895816f7b..33ed9d2e41 100644
--- 
a/gluten-ut/spark33/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
+++ 
b/gluten-ut/spark33/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
@@ -849,7 +849,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
+  // FIXME
+  ignoreGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
     def hasRepartitionShuffle(plan: SparkPlan): Boolean = {
       find(plan) {
         case s: ShuffleExchangeLike =>
diff --git 
a/gluten-ut/spark34/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
 
b/gluten-ut/spark34/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
index 4be6d072b4..e8263863b4 100644
--- 
a/gluten-ut/spark34/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
+++ 
b/gluten-ut/spark34/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
@@ -847,7 +847,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
+  // FIXME
+  ignoreGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
     def hasRepartitionShuffle(plan: SparkPlan): Boolean = {
       find(plan) {
         case s: ShuffleExchangeLike =>
diff --git 
a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/clickhouse/ClickHouseAdaptiveQueryExecSuite.scala
 
b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/clickhouse/ClickHouseAdaptiveQueryExecSuite.scala
index 70e6c81c11..1e677672eb 100644
--- 
a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/clickhouse/ClickHouseAdaptiveQueryExecSuite.scala
+++ 
b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/clickhouse/ClickHouseAdaptiveQueryExecSuite.scala
@@ -179,7 +179,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("Change broadcast join to merge join") {
+  // FIXME
+  ignoreGluten("Change broadcast join to merge join") {
     withTable("t1", "t2") {
       withSQLConf(
         SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "10000",
@@ -248,7 +249,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("Empty stage coalesced to 1-partition RDD") {
+  // FIXME
+  ignoreGluten("Empty stage coalesced to 1-partition RDD") {
     withSQLConf(
       SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
       SQLConf.COALESCE_PARTITIONS_ENABLED.key -> "true",
@@ -440,7 +442,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("Exchange reuse") {
+  // FIXME
+  ignoreGluten("Exchange reuse") {
     withSQLConf(
       SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
       SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "100",
@@ -598,7 +601,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("SPARK-30524: Do not optimize skew join if introduce additional 
shuffle") {
+  // FIXME
+  ignoreGluten("SPARK-30524: Do not optimize skew join if introduce additional 
shuffle") {
     withSQLConf(
       SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
       SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1",
@@ -865,7 +869,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
+  // FIXME
+  ignoreGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
     def hasRepartitionShuffle(plan: SparkPlan): Boolean = {
       find(plan) {
         case s: ShuffleExchangeLike =>
@@ -1102,7 +1107,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("SPARK-35264: Support AQE side broadcastJoin threshold") {
+  // FIXME
+  ignoreGluten("SPARK-35264: Support AQE side broadcastJoin threshold") {
     withTempView("t1", "t2") {
       def checkJoinStrategy(shouldBroadcast: Boolean): Unit = {
         withSQLConf(SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1") {
@@ -1140,7 +1146,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
   }
 
   // table partition size is different with spark
-  testGluten("SPARK-35264: Support AQE side shuffled hash join formula") {
+  // FIXME
+  ignoreGluten("SPARK-35264: Support AQE side shuffled hash join formula") {
     withTempView("t1", "t2") {
       def checkJoinStrategy(shouldShuffleHashJoin: Boolean): Unit = {
         Seq("100", "100000").foreach {
@@ -1456,7 +1463,8 @@ class ClickHouseAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with Glute
     }
   }
 
-  testGluten("SPARK-37742: AQE reads invalid InMemoryRelation stats and 
mistakenly plans BHJ") {
+  // FIXME
+  ignoreGluten("SPARK-37742: AQE reads invalid InMemoryRelation stats and 
mistakenly plans BHJ") {
     withSQLConf(
       SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
       SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "1048584",
diff --git 
a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
 
b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
index 4be6d072b4..e8263863b4 100644
--- 
a/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
+++ 
b/gluten-ut/spark35/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
@@ -847,7 +847,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
+  // FIXME
+  ignoreGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
     def hasRepartitionShuffle(plan: SparkPlan): Boolean = {
       find(plan) {
         case s: ShuffleExchangeLike =>
diff --git 
a/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
 
b/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
index 74d2835c4b..a246e037ab 100644
--- 
a/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
+++ 
b/gluten-ut/spark40/src/test/scala/org/apache/spark/sql/execution/adaptive/velox/VeloxAdaptiveQueryExecSuite.scala
@@ -718,7 +718,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("SPARK-34682: AQEShuffleReadExec operating on canonicalized 
plan") {
+  // FIXME
+  ignoreGluten("SPARK-34682: AQEShuffleReadExec operating on canonicalized 
plan") {
     withSQLConf(SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true") {
       val (_, adaptivePlan) = runAdaptiveAndVerifyResult("SELECT key FROM 
testData GROUP BY key")
       val reads = collect(adaptivePlan) { case r: AQEShuffleReadExec => r }
@@ -734,7 +735,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("metrics of the shuffle read") {
+  // FIXME
+  ignoreGluten("metrics of the shuffle read") {
     withSQLConf(
       SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
       SQLConf.SHUFFLE_PARTITIONS.key -> "5") {
@@ -848,7 +850,8 @@ class VeloxAdaptiveQueryExecSuite extends 
AdaptiveQueryExecSuite with GlutenSQLT
     }
   }
 
-  testGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
+  // FIXME
+  ignoreGluten("SPARK-33551: Do not use AQE shuffle read for repartition") {
     def hasRepartitionShuffle(plan: SparkPlan): Boolean = {
       find(plan) {
         case s: ShuffleExchangeLike =>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to