rdblue commented on code in PR #18526:
URL: https://github.com/apache/iceberg/pull/18526#discussion_r4672456110
##########
format/spec.md:
##########
@@ -952,6 +958,7 @@ The contents of a file are part of a snapshot if its
tracking `status` is **live
| _optional_ | 5 | **`modified_snapshot_id`** | `long`
| Snapshot ID where the file
was last modified. |
| _optional_ | 3 | **`sequence_number`** | `long`
| Data sequence number of
the file. Inherited when null. See [Sequence Number
Inheritance](#sequence-number-inheritance). |
| _optional_ | 4 | **`file_sequence_number`** | `long`
| File sequence number
indicating when the file was added. Inherited when null. See [Sequence Number
Inheritance](#sequence-number-inheritance). |
+ | _optional_ | 8 | **`snapshot_timestamp`** | `timestamptz`
| `timestamp-ms` of the
snapshot that added or last modified the file's data, in microseconds.
Inherited when null. See [Snapshot Timestamp
Inheritance](#snapshot-timestamp-inheritance). |
Review Comment:
```suggestion
| _optional_ | 8 | **`snapshot_timestamp`** | `timestamptz`
| Timestamp of the
snapshot that added or last modified the file's data. Inherited when null. See
[Snapshot Timestamp Inheritance](#snapshot-timestamp-inheritance). |
```
I think this can remove `timestamp-ms` and the unit. The unit is baked into
the type so it isn't needed here. And the relationship to `timestamp-ms` is
covered by inheritance. Since this doesn't include `ms` then there's also less
confusion about units.
--
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]