stevenzwu commented on code in PR #19266:
URL: https://github.com/apache/iceberg/pull/19266#discussion_r4780869031
##########
core/src/main/java/org/apache/iceberg/V4Metadata.java:
##########
@@ -554,10 +573,16 @@ protected Object getInternal(int pos) {
case 5 -> firstRowId();
case 6 -> wrapped().deletedPositions();
case 7 -> wrapped().replacedPositions();
- case 8 -> wrapped().snapshotTimestampMicros();
+ case 8 -> snapshotTimestampMicros(wrapped().snapshotTimestampMicros());
Review Comment:
that is a good question. RootManifestWriter persist materialized values for
sequence number, timestamp, first row id for the entries (including direct data
file). We should update the spec PR and scope it to `leaf manifest`. I saw the
sequence number inheritance also scope to leaf manifest.
> When adding a new file to a leaf manifest, its data and file sequence
numbers are set to null because the snapshot's sequence number is not assigned
until the snapshot is successfully committed.
--
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]