aokolnychyi commented on code in PR #7443:
URL: https://github.com/apache/iceberg/pull/7443#discussion_r1179595438
##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/actions/TestRemoveOrphanFilesAction.java:
##########
@@ -450,7 +451,12 @@ public void testManyTopLevelPartitions() throws
InterruptedException {
Dataset<Row> df = spark.createDataFrame(records, ThreeColumnRecord.class);
- df.select("c1", "c2",
"c3").write().format("iceberg").mode("append").save(tableLocation);
+ df.select("c1", "c2", "c3")
+ .write()
+ .format("iceberg")
+ .option(SparkWriteOptions.USE_TABLE_DISTRIBUTION_AND_ORDERING, "false")
Review Comment:
We could compare counts too. No preference on my side so I went for the
smallest change.
--
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]