gaborkaszab commented on code in PR #16285:
URL: https://github.com/apache/iceberg/pull/16285#discussion_r3491306790
##########
core/src/main/java/org/apache/iceberg/TrackedFileBuilder.java:
##########
@@ -306,6 +313,43 @@ TrackedFileBuilder replacedPositions(ByteBuffer
newReplacedPositions) {
return this;
}
+ TrackedFileBuilder columnFiles(List<ColumnFile> newColumnFiles) {
+ Preconditions.checkArgument(newColumnFiles != null, "Invalid column files:
null");
+ Preconditions.checkArgument(!newColumnFiles.isEmpty(), "Invalid column
files: empty");
+ Preconditions.checkArgument(
+ contentType == FileContent.DATA || contentType ==
FileContent.DATA_MANIFEST,
+ "Column files can only be set for DATA or DATA_MANIFEST entries, but
entry type is %s",
Review Comment:
yes, it is for DV updates
--
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]