Skip to content

Commit 0203636

Browse files
committed
feat: reenable filtered SMJ Anti join tests
1 parent b657551 commit 0203636

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spark/src/test/scala/org/apache/comet/exec/CometJoinSuite.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ package org.apache.comet.exec
2121

2222
import org.scalactic.source.Position
2323
import org.scalatest.Tag
24+
2425
import org.apache.spark.sql.CometTestBase
2526
import org.apache.spark.sql.catalyst.TableIdentifier
2627
import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
2728
import org.apache.spark.sql.comet.{CometBroadcastExchangeExec, CometBroadcastHashJoinExec}
2829
import org.apache.spark.sql.internal.SQLConf
2930
import org.apache.spark.sql.types.Decimal
31+
3032
import org.apache.comet.CometConf
3133
import org.apache.comet.CometConf.COMET_EXEC_SORT_MERGE_JOIN_WITH_JOIN_FILTER_ENABLED
3234
import org.apache.comet.CometSparkSessionExtensions.isSpark34Plus
@@ -295,8 +297,7 @@ class CometJoinSuite extends CometTestBase {
295297
withSQLConf(
296298
CometConf.COMET_EXEC_SORT_MERGE_JOIN_WITH_JOIN_FILTER_ENABLED.key -> "true",
297299
SQLConf.ADAPTIVE_AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1",
298-
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1"
299-
) {
300+
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1") {
300301
withParquetTable((0 until 10).map(i => (i, i % 5)), "tbl_a") {
301302
withParquetTable((0 until 10).map(i => (i % 10, i + 2)), "tbl_b") {
302303
val df1 = sql("SELECT * FROM tbl_a JOIN tbl_b ON tbl_a._2 = tbl_b._1")

0 commit comments

Comments
 (0)