tanmayrauth opened a new pull request, #1099:
URL: https://github.com/apache/iceberg-go/pull/1099
Parent: #999
Preserves `_row_id` through CoW rewrites and compaction on v3 tables. The
scanner synthesizes row IDs from file metadata, the filter is applied
post-synthesis to preserve correct positions, and the writer stores `_row_id`
explicitly in output Parquet. `_last_updated_sequence_number` is left null to
inherit from the new file's `data_sequence_number`.
Also documents that `next-row-id` accounting intentionally overcounts
(matching Java's `ManifestListWriter.V4Writer`) and removes the old
`Projection()` synthesis helpers replaced by the explicit `WithRowLineage()`
scan option.
## Test plan
- `TestCoWRewritePreservesRowID` : verifies surviving rows keep original
`_row_id` after a CoW delete
- `TestCoWRewriteRowIDNextRowIDAccounting` : validates next-row-id
advances correctly
--
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]