Fokko commented on code in PR #2129:
URL: https://github.com/apache/iceberg-python/pull/2129#discussion_r2446808066
##########
pyiceberg/table/snapshots.py:
##########
@@ -244,6 +244,10 @@ class Snapshot(IcebergBaseModel):
manifest_list: str = Field(alias="manifest-list", description="Location of
the snapshot's manifest list file")
summary: Optional[Summary] = Field(default=None)
schema_id: Optional[int] = Field(alias="schema-id", default=None)
+ first_row_id: Optional[int] = Field(
+ alias="first-row-id", default=None, description="assigned to the first
row in the first data file in the first manifest"
+ )
+ _added_rows: Optional[int] = PrivateAttr()
Review Comment:
Added rows is actually [a public
method](https://github.com/apache/iceberg/blob/main/format/spec.md#snapshots)
and should be part of the (de)serialization
--
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]