shivadarshan-devadiga commented on code in PR #18990:
URL: https://github.com/apache/iceberg/pull/18990#discussion_r4715763903
##########
spark/v4.2/spark/src/test/java/org/apache/iceberg/spark/sql/TestStoragePartitionedJoins.java:
##########
@@ -777,6 +780,69 @@ public void testJoinsHourToDays() throws
NoSuchTableException {
otherTableName);
}
+ // SPARK-60044: a planned k-way merge must keep the ordering it was planned
with. The scan reports
+ // no ordering, so Spark derives [id, name] from the partition keys. The
splits are sorted by the
+ // full key, so within id 1 the 'bb' split comes before the 'aa' one.
Turning the key ordering
+ // off after planning must not change how the planned merge orders the rows.
+ @TestTemplate
+ public void testPlannedSortedMergeKeepsOrderingAfterConfigChange() {
Review Comment:
Thanks, done in
[49709f9](https://github.com/apache/iceberg/pull/18990/commits/49709f9d484b65425aff91ecb5c4a02afdff1309).
It's now `plannedSortedMergeKeepsOrderingAfterConfigChange`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]