Skip to content

Commit ab11578

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import org.apache.spark.sql.internal.SQLConf
3030
import org.apache.spark.sql.types.Decimal
3131

3232
import org.apache.comet.CometConf
33-
import org.apache.comet.CometConf.COMET_EXEC_SORT_MERGE_JOIN_WITH_JOIN_FILTER_ENABLED
3433
import org.apache.comet.CometSparkSessionExtensions.isSpark34Plus
3534

3635
class CometJoinSuite extends CometTestBase {
@@ -295,7 +294,7 @@ class CometJoinSuite extends CometTestBase {
295294

296295
test("SortMergeJoin without join filter") {
297296
withSQLConf(
298-
CometConf.COMET_EXEC_SORT_MERGE_JOIN_WITH_JOIN_FILTER_ENABLED.key -> "true",
297+
CometConf.COMET_EXEC_SORT_MERGE_JOIN_ENABLED.key -> "true",
299298
SQLConf.ADAPTIVE_AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1",
300299
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1") {
301300
withParquetTable((0 until 10).map(i => (i, i % 5)), "tbl_a") {
@@ -342,6 +341,7 @@ class CometJoinSuite extends CometTestBase {
342341

343342
test("SortMergeJoin with join filter") {
344343
withSQLConf(
344+
CometConf.COMET_EXEC_SORT_MERGE_JOIN_ENABLED.key -> "true",
345345
CometConf.COMET_EXEC_SORT_MERGE_JOIN_WITH_JOIN_FILTER_ENABLED.key -> "true",
346346
SQLConf.ADAPTIVE_AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1",
347347
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "-1") {

0 commit comments

Comments
 (0)