kbendick commented on code in PR #4594:
URL: https://github.com/apache/iceberg/pull/4594#discussion_r855398006
##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -819,7 +827,7 @@ private Builder(TableMetadata base) {
this.startingChangeCount = changes.size();
this.snapshotLog = Lists.newArrayList(base.snapshotLog);
- this.previousFileLocation = base.metadataFileLocation;
+ this.previousFileLocation = noPreviousFile ? null :
base.metadataFileLocation;
Review Comment:
I need to override that too for something I'm working on. But I have just
used the builder's `withMetadataLocation`. In my case, the value of
`base.metadataFIleLocation` is already null so just calling the function works
fine.
--
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]