Fokko commented on code in PR #10680:
URL: https://github.com/apache/iceberg/pull/10680#discussion_r1675557564
##########
core/src/test/java/org/apache/iceberg/TestReplacePartitions.java:
##########
@@ -67,6 +67,34 @@ public class TestReplacePartitions extends TestBase {
.withRecordCount(1)
.build();
+ static final DataFile FILE_NULL_PARTITION =
+ DataFiles.builder(SPEC)
+ .withPath("/path/to/data-null-partition.parquet")
+ .withFileSizeInBytes(0)
+ .withPartitionPath("data_bucket=__HIVE_DEFAULT_PARTITION__")
+ .withRecordCount(0)
+ .build();
+
+ // Partition spec with VOID partition transform ("alwaysNull" in Java code.)
+ public static final PartitionSpec SPEC_VOID =
Review Comment:
Since it is in a test, I'll go ahead and merge this 👍
--
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]