rdblue commented on code in PR #19030:
URL: https://github.com/apache/iceberg/pull/19030#discussion_r4647785405
##########
core/src/main/java/org/apache/iceberg/TrackedFileAdapters.java:
##########
@@ -437,7 +453,7 @@ public ManifestContent content() {
@Override
public long sequenceNumber() {
- return file.tracking().dataSequenceNumber();
+ return file.tracking() != null ? file.tracking().dataSequenceNumber() :
-1;
Review Comment:
This was updated to match the current behavior of `ManifestFile` before it
is committed. Otherwise the `appendManifest` tests fail because `tracking()`
throws a `NullPointerException`.
--
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]