Skip to content

Commit 274566f

Browse files
authored
test: temporarily disable plan stability tests (#1274)
1 parent 6df59bd commit 274566f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

spark/src/test/scala/org/apache/spark/sql/comet/CometPlanStabilitySuite.scala

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,11 @@ class CometTPCDSV1_4_PlanStabilitySuite extends CometPlanStabilitySuite {
325325
override val goldenFilePath: String =
326326
new File(baseResourcePath, planName).getAbsolutePath
327327

328-
tpcdsQueries.foreach { q =>
329-
test(s"check simplified (tpcds-v1.4/$q)") {
330-
testQuery("tpcds", q)
328+
if (CometConf.COMET_NATIVE_SCAN_IMPL.get().equals(CometConf.SCAN_NATIVE_COMET)) {
329+
tpcdsQueries.foreach { q =>
330+
test(s"check simplified (tpcds-v1.4/$q)") {
331+
testQuery("tpcds", q)
332+
}
331333
}
332334
}
333335
}
@@ -343,9 +345,11 @@ class CometTPCDSV2_7_PlanStabilitySuite extends CometPlanStabilitySuite {
343345
override val goldenFilePath: String =
344346
new File(baseResourcePath, planName).getAbsolutePath
345347

346-
tpcdsQueriesV2_7_0.foreach { q =>
347-
test(s"check simplified (tpcds-v2.7.0/$q)") {
348-
testQuery("tpcds-v2.7.0", q)
348+
if (CometConf.COMET_NATIVE_SCAN_IMPL.get().equals(CometConf.SCAN_NATIVE_COMET)) {
349+
tpcdsQueriesV2_7_0.foreach { q =>
350+
test(s"check simplified (tpcds-v2.7.0/$q)") {
351+
testQuery("tpcds-v2.7.0", q)
352+
}
349353
}
350354
}
351355
}

0 commit comments

Comments
 (0)