Skip to content

Commit 5971c93

Browse files
committed
rebase_main
1 parent 64ccf2d commit 5971c93

1 file changed

Lines changed: 21 additions & 19 deletions

File tree

dev/diffs/4.0.1.diff

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/pom.xml b/pom.xml
2-
index 443d46a4302..9880184c4e3 100644
2+
index 22922143fc3..7c56e5e8641 100644
33
--- a/pom.xml
44
+++ b/pom.xml
55
@@ -148,6 +148,8 @@
@@ -38,7 +38,7 @@ index 443d46a4302..9880184c4e3 100644
3838
<dependency>
3939
<groupId>org.apache.datasketches</groupId>
4040
diff --git a/sql/core/pom.xml b/sql/core/pom.xml
41-
index 56aad01023d..ad9d6a973e4 100644
41+
index dcf6223a98b..0458a5bb640 100644
4242
--- a/sql/core/pom.xml
4343
+++ b/sql/core/pom.xml
4444
@@ -90,6 +90,10 @@
@@ -373,7 +373,7 @@ index 1f8c5822e7d..b7de4e28813 100644
373373
WITH t(c1) AS (SELECT replace(listagg(DISTINCT col1 COLLATE unicode_rtrim) COLLATE utf8_binary, ' ', '') FROM (VALUES ('xbc '), ('xbc '), ('a'), ('xbc'))) SELECT len(c1), regexp_count(c1, 'a'), regexp_count(c1, 'xbc') FROM t
374374
-- !query schema
375375
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
376-
index e0ad3feda3a..8fc1ba8e10d 100644
376+
index 0f42502f1d9..f616024a9c2 100644
377377
--- a/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
378378
+++ b/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala
379379
@@ -39,7 +39,7 @@ import org.apache.spark.sql.catalyst.util.DateTimeConstants
@@ -421,7 +421,7 @@ index e0ad3feda3a..8fc1ba8e10d 100644
421421

422422
withTempView("t0", "t1", "t2") {
423423
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala
424-
index 6ce0a657d5b..02e352d13b0 100644
424+
index 9db406ff12f..abbc91f5c11 100644
425425
--- a/sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala
426426
+++ b/sql/core/src/test/scala/org/apache/spark/sql/DataFrameAggregateSuite.scala
427427
@@ -30,7 +30,7 @@ import org.apache.spark.sql.errors.DataTypeErrors.toSQLId
@@ -843,7 +843,7 @@ index 53e47f428c3..a55d8f0c161 100644
843843
assert(shuffleMergeJoins.size == 1)
844844
}
845845
diff --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
846-
index 41f2e5c9a40..8f0dd909492 100644
846+
index aaac0ebc9aa..fbef0774d46 100644
847847
--- a/sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala
848848
+++ b/sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala
849849
@@ -29,7 +29,8 @@ import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
@@ -1041,7 +1041,7 @@ index 41f2e5c9a40..8f0dd909492 100644
10411041
checkAnswer(fullJoinDF, Row(100))
10421042
}
10431043
}
1044-
@@ -1586,6 +1615,9 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1044+
@@ -1614,6 +1643,9 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
10451045
Seq(semiJoinDF, antiJoinDF).foreach { df =>
10461046
assert(collect(df.queryExecution.executedPlan) {
10471047
case j: ShuffledHashJoinExec if j.ignoreDuplicatedKey == ignoreDuplicatedKey => true
@@ -1051,7 +1051,7 @@ index 41f2e5c9a40..8f0dd909492 100644
10511051
}.size == 1)
10521052
}
10531053
}
1054-
@@ -1630,14 +1662,20 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
1054+
@@ -1658,14 +1690,20 @@ class JoinSuite extends QueryTest with SharedSparkSession with AdaptiveSparkPlan
10551055

10561056
test("SPARK-43113: Full outer join with duplicate stream-side references in condition (SMJ)") {
10571057
def check(plan: SparkPlan): Unit = {
@@ -1074,7 +1074,7 @@ index 41f2e5c9a40..8f0dd909492 100644
10741074
}
10751075
dupStreamSideColTest("SHUFFLE_HASH", check)
10761076
}
1077-
@@ -1773,7 +1811,8 @@ class ThreadLeakInSortMergeJoinSuite
1077+
@@ -1801,7 +1839,8 @@ class ThreadLeakInSortMergeJoinSuite
10781078
sparkConf.set(SHUFFLE_SPILL_NUM_ELEMENTS_FORCE_SPILL_THRESHOLD, 20))
10791079
}
10801080

@@ -1111,7 +1111,7 @@ index 818c7ec65b1..0d333807b70 100644
11111111
createTable("t1", Seq("i"), Seq("int"))
11121112
createTable("t2", Seq("i"), Seq("int"))
11131113
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
1114-
index b3fce19979e..67edf5eb91c 100644
1114+
index f294ff81021..8a3b818ee94 100644
11151115
--- a/sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
11161116
+++ b/sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala
11171117
@@ -1524,7 +1524,8 @@ class SQLQuerySuite extends QueryTest with SharedSparkSession with AdaptiveSpark
@@ -1427,19 +1427,21 @@ index 11e9547dfc5..be9ae40ab3d 100644
14271427
val t2 = "T_2"
14281428

14291429
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/collation/DefaultCollationTestSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/collation/DefaultCollationTestSuite.scala
1430-
index 031af8200d7..bb5acd74ad2 100644
1430+
index 77ed8b411e3..18b51f0c939 100644
14311431
--- a/sql/core/src/test/scala/org/apache/spark/sql/collation/DefaultCollationTestSuite.scala
14321432
+++ b/sql/core/src/test/scala/org/apache/spark/sql/collation/DefaultCollationTestSuite.scala
1433-
@@ -17,7 +17,7 @@
1433+
@@ -17,9 +17,9 @@
14341434

14351435
package org.apache.spark.sql.collation
14361436

14371437
-import org.apache.spark.sql.{AnalysisException, DataFrame, QueryTest, Row}
1438+
import org.apache.spark.sql.catalyst.expressions.AttributeReference
1439+
import org.apache.spark.sql.catalyst.plans.logical.Project
14381440
+import org.apache.spark.sql.{AnalysisException, DataFrame, IgnoreComet, QueryTest, Row}
14391441
import org.apache.spark.sql.catalyst.util.CollationFactory
14401442
import org.apache.spark.sql.connector.DatasourceV2SQLBase
14411443
import org.apache.spark.sql.test.SharedSparkSession
1442-
@@ -184,7 +184,7 @@ abstract class DefaultCollationTestSuite extends QueryTest with SharedSparkSessi
1444+
@@ -220,7 +220,7 @@ abstract class DefaultCollationTestSuite extends QueryTest with SharedSparkSessi
14431445
}
14441446
}
14451447

@@ -1537,7 +1539,7 @@ index 2a0ab21ddb0..e8a5a891105 100644
15371539
} finally {
15381540
spark.listenerManager.unregister(listener)
15391541
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/connector/KeyGroupedPartitioningSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/connector/KeyGroupedPartitioningSuite.scala
1540-
index c24f52bd930..ce4d4c4a694 100644
1542+
index c73e8e16fbb..88cd0d47da3 100644
15411543
--- a/sql/core/src/test/scala/org/apache/spark/sql/connector/KeyGroupedPartitioningSuite.scala
15421544
+++ b/sql/core/src/test/scala/org/apache/spark/sql/connector/KeyGroupedPartitioningSuite.scala
15431545
@@ -20,10 +20,11 @@ import java.sql.Timestamp
@@ -1614,7 +1616,7 @@ index f62e092138a..c0404bfe85e 100644
16141616

16151617
before {
16161618
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala
1617-
index 46f2502582c..1f4c8f2201b 100644
1619+
index 04d33ecd3d5..450df347297 100644
16181620
--- a/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala
16191621
+++ b/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala
16201622
@@ -31,7 +31,7 @@ import org.mockito.Mockito.{mock, spy, when}
@@ -1755,7 +1757,7 @@ index 1400ee25f43..5b016c3f9c5 100644
17551757

17561758
setupTestData()
17571759
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/QueryExecutionSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/QueryExecutionSuite.scala
1758-
index a6490243708..c61af08d4cf 100644
1760+
index 47d5ff67b84..8dc8f65d4b1 100644
17591761
--- a/sql/core/src/test/scala/org/apache/spark/sql/execution/QueryExecutionSuite.scala
17601762
+++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/QueryExecutionSuite.scala
17611763
@@ -20,7 +20,7 @@ import scala.collection.mutable
@@ -1767,7 +1769,7 @@ index a6490243708..c61af08d4cf 100644
17671769
import org.apache.spark.sql.catalyst.{QueryPlanningTracker, QueryPlanningTrackerCallback, TableIdentifier}
17681770
import org.apache.spark.sql.catalyst.analysis.{CurrentNamespace, UnresolvedFunction, UnresolvedRelation}
17691771
import org.apache.spark.sql.catalyst.expressions.{Alias, UnsafeRow}
1770-
@@ -385,7 +385,7 @@ class QueryExecutionSuite extends SharedSparkSession {
1772+
@@ -400,7 +400,7 @@ class QueryExecutionSuite extends SharedSparkSession {
17711773
}
17721774
}
17731775

@@ -2868,10 +2870,10 @@ index 6080a5e8e4b..9aa8f49a62b 100644
28682870
case _ => assert(false, "Can not match ParquetTable in the query.")
28692871
}
28702872
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetIOSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetIOSuite.scala
2871-
index 22839d3f0d2..812d642f15d 100644
2873+
index 4474ec1fd42..d0366be3597 100644
28722874
--- a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetIOSuite.scala
28732875
+++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetIOSuite.scala
2874-
@@ -1334,7 +1334,8 @@ class ParquetIOSuite extends QueryTest with ParquetTest with SharedSparkSession
2876+
@@ -1344,7 +1344,8 @@ class ParquetIOSuite extends QueryTest with ParquetTest with SharedSparkSession
28752877
}
28762878
}
28772879

@@ -2881,7 +2883,7 @@ index 22839d3f0d2..812d642f15d 100644
28812883
withAllParquetReaders {
28822884
checkAnswer(
28832885
// "fruit" column in this file is encoded using DELTA_LENGTH_BYTE_ARRAY.
2884-
@@ -1543,7 +1544,9 @@ class ParquetIOSuite extends QueryTest with ParquetTest with SharedSparkSession
2886+
@@ -1553,7 +1554,9 @@ class ParquetIOSuite extends QueryTest with ParquetTest with SharedSparkSession
28852887
}
28862888
}
28872889

0 commit comments

Comments
 (0)