Skip to content

Conversation

@steFaiz
Copy link
Contributor

@steFaiz steFaiz commented Jan 21, 2026

Purpose

Linked issue: #7079
Please also see the original PR: #7028 for more information
This PR is the first step and just provide 2 options:

  1. THROW_ERROR: throws an error if users are updating indexed columns.
  2. DROP_PARTITION_INDEX: drop global index entries of all partitions being modified

I'm still working on how to invalidate partial index.

Tests

Please see org.apache.paimon.spark.sql.RowTrackingTestBase

API and Format

Add an option global-index.column-update-action

Documentation

Updated

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@JingsongLi JingsongLi merged commit 7f9a014 into apache:master Jan 21, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants