XiaoHongbo-Hope opened a new pull request, #8045:
URL: https://github.com/apache/paimon/pull/8045
### Purpose
Updating a column covered by a global index via `update_by_arrow_with_row_id`
caused the index to become outdated — subsequent queries through the index
returned stale data instead of the updated values.
This PR adds the `global-index.column-update-action` option and enforces it
during single-machine column updates:
- **THROW_ERROR** (default): raises when the update touches indexed
columns.
- **DROP_PARTITION_INDEX**: drops affected index entries from the manifest.
### Tests
- e2e: THROW_ERROR raises + DROP_PARTITION_INDEX succeeds with index
removed.
- Unit: index manifest write/read roundtrip and combine_deletes cases.
--
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]