lxy-9602 opened a new issue, #557: URL: https://github.com/apache/paimon-cpp/issues/557
### Search before asking - [x] I searched in the [issues](https://github.com/apache/paimon-cpp/issues) and found nothing similar. ### Motivation External engines need to update append tables by locating existing rows, appending replacement rows, and marking the original rows as deleted. Public C++ APIs should support this workflow while reusing index readers and existing deletion vectors, without requiring callers to handle internal metadata formats. ### Solution Expose two complementary APIs: 1. `FileIndexRead` - Bind to a batch split and accept different predicates across queries. - Return matching files and exact physical row positions, excluding historical deletions. - Reuse per-file readers and use metadata statistics, indexes, and data filtering. 2. `DeletionVectorWrite::PrepareCommit` - Accept externally supplied deletion positions. - Merge them with historical DV from one specified snapshot, or the latest snapshot. - Return commit messages that can be combined with appended replacement rows in one commit. Keep internal representations such as `BinaryRow` out of the public interfaces. ### Anything else? Initially support managed append tables with fixed or unaware buckets and bitmap32 deletion vectors. Callers must serialize updates within each partition/bucket through commit. No storage format changes are required. ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- 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]
