You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2026/07/01 08:51:36 UTC
[PR] [python] Add predicate update for data evolution [paimon]
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [python] Add predicate update for data evolution [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #8413:
URL: https://github.com/apache/paimon/pull/8413
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org