@@ -39,7 +39,7 @@ index 6df8bc85b51..dabb75e2b75 100644
3939 withSpark(sc) { sc =>
4040 TestUtils.waitUntilExecutorsUp(sc, 2, 60000)
4141diff --git a/pom.xml b/pom.xml
42- index dc201151999..3e278cfb34c 100644
42+ index dc201151999..d5c08f11ded 100644
4343--- a/pom.xml
4444+++ b/pom.xml
4545@@ -152,6 +152,8 @@
@@ -885,7 +885,7 @@ index 53e47f428c3..a55d8f0c161 100644
885885 assert(shuffleMergeJoins.size == 1)
886886 }
887887diff --git a/sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala
888- index 885512d4d19..113ae17ad9f 100644
888+ index 885512d4d19..09b1ccaed71 100644
889889--- a/sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala
890890+++ b/sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala
891891@@ -29,7 +29,8 @@ import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
@@ -1055,7 +1055,7 @@ index 885512d4d19..113ae17ad9f 100644
10551055 // No extra shuffle before aggregation
10561056 assert(collect(plan) { case _: ShuffleExchangeExec => true }.size === 0)
10571057 }
1058- @@ -1501,7 +1523 ,8 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1058+ @@ -1501,7 +1526 ,8 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
10591059 val plan = sql(getAggQuery(selectExpr, joinType)).queryExecution.executedPlan
10601060 assert(collect(plan) { case _: BroadcastNestedLoopJoinExec => true }.size === 1)
10611061 // Have shuffle before aggregation
@@ -1065,7 +1065,8 @@ index 885512d4d19..113ae17ad9f 100644
10651065 }
10661066
10671067 def getJoinQuery(selectExpr: String, joinType: String): String = {
1068- @@ -1530,9 +1556,15 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1068+ @@ -1529,10 +1555,16 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1069+ "/*+ BROADCAST(right_t) */ k1 as k0"
10691070 }
10701071 val plan = sql(getJoinQuery(selectExpr, joinType)).queryExecution.executedPlan
10711072- assert(collect(plan) { case _: BroadcastNestedLoopJoinExec => true }.size === 1)
@@ -1084,7 +1085,7 @@ index 885512d4d19..113ae17ad9f 100644
10841085 }
10851086
10861087 // Test output ordering is not preserved
1087- @@ -1541,9 +1567 ,12 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1088+ @@ -1541,9 +1573 ,12 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
10881089 val selectExpr = "/*+ BROADCAST(left_t) */ k1 as k0"
10891090 val plan = sql(getJoinQuery(selectExpr, joinType)).queryExecution.executedPlan
10901091 assert(collect(plan) { case _: BroadcastNestedLoopJoinExec => true }.size === 1)
@@ -1099,7 +1100,7 @@ index 885512d4d19..113ae17ad9f 100644
10991100 }
11001101
11011102 // Test singe partition
1102- @@ -1553,7 +1582 ,8 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1103+ @@ -1553,7 +1588 ,8 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
11031104 |FROM range(0, 10, 1, 1) t1 FULL OUTER JOIN range(0, 10, 1, 1) t2
11041105 |""".stripMargin)
11051106 val plan = fullJoinDF.queryExecution.executedPlan
@@ -1109,7 +1110,7 @@ index 885512d4d19..113ae17ad9f 100644
11091110 checkAnswer(fullJoinDF, Row(100))
11101111 }
11111112 }
1112- @@ -1626,6 +1656 ,9 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1113+ @@ -1626,6 +1662 ,9 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
11131114 Seq(semiJoinDF, antiJoinDF).foreach { df =>
11141115 assert(collect(df.queryExecution.executedPlan) {
11151116 case j: ShuffledHashJoinExec if j.ignoreDuplicatedKey == ignoreDuplicatedKey => true
@@ -1119,7 +1120,7 @@ index 885512d4d19..113ae17ad9f 100644
11191120 }.size == 1)
11201121 }
11211122 }
1122- @@ -1670,14 +1703 ,20 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1123+ @@ -1670,14 +1709 ,20 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
11231124
11241125 test("SPARK-43113: Full outer join with duplicate stream-side references in condition (SMJ)") {
11251126 def check(plan: SparkPlan): Unit = {
@@ -1142,7 +1143,7 @@ index 885512d4d19..113ae17ad9f 100644
11421143 }
11431144 dupStreamSideColTest("SHUFFLE_HASH", check)
11441145 }
1145- @@ -1813,7 +1852 ,8 @@ class ThreadLeakInSortMergeJoinSuite
1146+ @@ -1813,7 +1858 ,8 @@ class ThreadLeakInSortMergeJoinSuite
11461147 sparkConf.set(SHUFFLE_SPILL_NUM_ELEMENTS_FORCE_SPILL_THRESHOLD, 20))
11471148 }
11481149
@@ -3849,7 +3850,7 @@ index f0f3f94b811..b7d18771314 100644
38493850
38503851 spark.internalCreateDataFrame(withoutFilters.execute(), schema)
38513852diff --git a/sql/core/src/test/scala/org/apache/spark/sql/test/SharedSparkSession.scala b/sql/core/src/test/scala/org/apache/spark/sql/test/SharedSparkSession.scala
3852- index 720b13b812e..71b20c79a12 100644
3853+ index 720b13b812e..d08c2548ffa 100644
38533854--- a/sql/core/src/test/scala/org/apache/spark/sql/test/SharedSparkSession.scala
38543855+++ b/sql/core/src/test/scala/org/apache/spark/sql/test/SharedSparkSession.scala
38553856@@ -98,6 +98,21 @@ trait SharedSparkSessionBase
@@ -3868,7 +3869,7 @@ index 720b13b812e..71b20c79a12 100644
38683869+ .set("spark.shuffle.manager",
38693870+ "org.apache.spark.sql.comet.execution.shuffle.CometShuffleManager")
38703871+ .set("spark.comet.exec.shuffle.enabled", "true")
3871- + .set("spark.comet.memoryOverhead", "10g ")
3872+ + .set("spark.comet.memoryOverhead", "2g ")
38723873+
38733874+ }
38743875 conf.set(
0 commit comments