stevenzwu commented on code in PR #19019:
URL: https://github.com/apache/iceberg/pull/19019#discussion_r4758970297


##########
core/src/main/java/org/apache/iceberg/MetadataColumns.java:
##########
@@ -114,7 +120,8 @@ private MetadataColumns() {}
           IS_DELETED.name(), IS_DELETED,
           SPEC_ID.name(), SPEC_ID,
           ROW_ID.name(), ROW_ID,
-          LAST_UPDATED_SEQUENCE_NUMBER.name(), LAST_UPDATED_SEQUENCE_NUMBER);
+          LAST_UPDATED_SEQUENCE_NUMBER.name(), LAST_UPDATED_SEQUENCE_NUMBER,
+          LAST_UPDATED_TIMESTAMP.name(), LAST_UPDATED_TIMESTAMP);

Review Comment:
   Deferring the `META_COLUMNS` entry wouldn't remove the collision, it would 
only postpone it to the reader PR. Any table with a user column of this name 
would hit it then. That's true of every reserved metadata column name 
(`_row_id`, `_last_updated_sequence_number`, `_file`, ...). 



##########
core/src/main/java/org/apache/iceberg/TrackingStruct.java:
##########
@@ -39,6 +39,7 @@ class TrackingStruct extends SupportsIndexProjection 
implements Tracking, Serial
           Tracking.FIRST_ROW_ID,
           Tracking.DELETED_POSITIONS,
           Tracking.REPLACED_POSITIONS,
+          Tracking.SNAPSHOT_TIMESTAMP,

Review Comment:
   Thanks. As Amogh noted, nothing populates the timestamp in this PR, so I'm 
adding it to `SCAN_TYPE` in the follow-up that reads and writes it (with 
scan-vs-full read coverage there).



-- 
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]

Reply via email to