smaheshwar-pltr commented on code in PR #4524: URL: https://github.com/apache/iceberg-python/pull/4524#discussion_r4773720096
########## mkdocs/docs/api.md: ########## @@ -2341,6 +2341,28 @@ DataFrame() +---+---+ ``` +## Incremental append scan + +`incremental_append_scan()` reads only the rows appended to a table between two snapshots: + +```python +tbl.incremental_append_scan( + from_snapshot_id_exclusive=from_snapshot_id, + to_snapshot_id_inclusive=to_snapshot_id, +).to_arrow() +``` + +Both bounds are optional. Without a start, the scan reads from the beginning of the table's history, and without an end, up to the current snapshot. The start must be an earlier snapshot in the end snapshot's history, or a `ValueError` is raised. + +It takes the same filtering and projection arguments, and has the same output methods, as [`scan()`](#query-the-data). Review Comment: Sounds good! -- 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]
