lxy-9602 opened a new pull request, #558:
URL: https://github.com/apache/paimon-cpp/pull/558

   <!-- PR titles must follow Conventional Commits: <type>(<optional-scope>): 
<description> -->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Linked issue: close #557 
   
   Allow external engines to update append tables by locating live physical 
rows, appending replacement rows, and committing deletion vectors together with 
the appended files.
   
   - Add split-bound `FileIndexRead` queries that reuse per-file readers and 
historical DV across predicates. Reuse metadata statistics and the existing 
precise read path.
   - Add `DeletionVectorWrite::PrepareCommit` to merge new deletion positions 
with historical DV at one base snapshot and return commit messages.
   - Support fixed-bucket and unaware-bucket managed append tables with 
bitmap32 DV. Callers must serialize updates within each partition/bucket 
through commit.
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   - Add parameterized coverage for fixed/unaware buckets, embedded/external 
indexes, repeated queries, schema evolution, historical DV merging, and 
combined append/DV commits.
   - Cover empty results, invalid targets, unsupported configurations, and 
partition/bucket isolation.
   - Extend regression coverage for predicate-state isolation, batch DV 
merging, and snapshot deletion counts.
   
   <!--
   Describe tests added or updated and what they cover; explain if no test 
changes are needed.
   Omit execution commands, results, and reasons tests were not run locally.
   -->
   
   ### API and Format
   Add public `FileIndexRead`, `FileRowSelection`, and `DeletionVectorWrite` 
APIs without exposing `BinaryRow`.
   
   `DataSplit::GetFileList` reports snapshot DV cardinality when available.
   
   No storage format or protocol changes.
   <!-- Does this change affect API in include dir or storage format or 
protocol -->
   
   ### Documentation
   Document the new APIs and the append/DV update workflow, including supported 
table modes and serialization requirements.
   
   <!-- Does this change introduce a new feature -->
   
   ### Generative AI tooling
   Generated-by: OpenAI Codex (GPT-6)
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


-- 
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]

Reply via email to