JingsongLi opened a new pull request, #8413:
URL: https://github.com/apache/paimon/pull/8413

   ## Summary
   
   Adds a PyPaimon predicate-based data evolution update API for SQL-like 
`UPDATE ... SET ... WHERE ...` flows. The row-id discovery scan is aligned with 
#8411 by pinning the scan snapshot and forcing `global-index.search-mode=full` 
so matched updates include rows appended after a global index was created.
   
   ## Changes
   
   - Add `TableUpdate.new_predicate_builder()` and `update_by_predicate` for 
batch and stream updates.
   - Reuse the existing row-id partial-update write path after discovering 
matching `_ROW_ID` values.
   - Reject invalid predicate updates, including empty assignments and 
partition-column updates.
   - Add regression coverage for updating rows not covered by an existing BTree 
global index.
   - Refresh data evolution docs with Python predicate-update examples and 
`Tabs` / `TabItem` organization for batch and stream flows.
   
   ## Testing
   
   - [x] `./.venv/bin/python -m py_compile pypaimon/write/table_update.py 
pypaimon/tests/table_update_test.py`
   - [x] `./.venv/bin/python -m pyflakes pypaimon/write/table_update.py 
pypaimon/tests/table_update_test.py`
   - [x] `./.venv/bin/python -m pytest pypaimon/tests/table_update_test.py -q`
   - [x] `git diff --check`
   - [x] `yarn --cwd docs build`
   
   ## Notes
   
   `yarn --cwd docs build` still reports the existing global broken link 
warning for `/docs/master/concepts/overview`, but the build succeeds.


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