RussellSpitzer opened a new pull request, #11976:
URL: https://github.com/apache/iceberg/pull/11976

   Split out from #11948 
   
   Working on the row-lineage implementation made it clear that we needed a way 
to get information from the Snapshot object propagated into the Metadata layer. 
Specifically we need to know the count of all newly added rows in that Snapshot 
to change the `last-row-id` of the TableMetadata. While we can potentially read 
this from Snapshot Summary, it would be a bit odd to have a requirement on key 
value pair within Snapshot summary. We could also potentially re-read and 
calculate the number of added rows, but this would require re-opening the 
manifest list itself. 
   
   I believe it makes more sense to formally have added-rows as an optional 
field within the Snapshot itself so we can make it clear in the spec this value 
is expected to be stored within the Snapshot metadata if row-lineage is 
enabled. 


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to