Skip to content

[flink] Introduce drop global index procedure.#7822

Merged
JingsongLi merged 2 commits into
apache:masterfrom
zhoulii:drop-global-index
May 12, 2026
Merged

[flink] Introduce drop global index procedure.#7822
JingsongLi merged 2 commits into
apache:masterfrom
zhoulii:drop-global-index

Conversation

@zhoulii
Copy link
Copy Markdown
Member

@zhoulii zhoulii commented May 12, 2026

Purpose

close #7821

Tests

@JingsongLi
Copy link
Copy Markdown
Contributor

Please update documentation too.

Copy link
Copy Markdown
Contributor

@leaves12138 leaves12138 left a comment

Choose a reason for hiding this comment

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

Reviewed the Flink drop_global_index procedure against the existing Spark implementation and the global-index commit path.

The filtering by index type / global-index field id / partition predicate, grouping the delete entries by partition, and committing DataIncrement.deleteIndexIncrement(...) are consistent with the existing Spark-side procedure and other index-delete paths. The service registration and bitmap/partition/non-existent-index IT coverage also look reasonable to me.

Local checks:

  • git diff --cached --check passed after applying the PR diff locally.
  • mvn -pl paimon-flink/paimon-flink-common ... spotless:check passed.
  • I could not complete the targeted Maven IT in this local environment because dependency resolution is currently blocked by unrelated snapshot test artifacts, but I do not see a blocker in this patch.

LGTM.

@zhoulii zhoulii force-pushed the drop-global-index branch from 4036ae0 to f43f44f Compare May 12, 2026 07:42
@zhoulii zhoulii force-pushed the drop-global-index branch from f43f44f to 2d071a4 Compare May 12, 2026 08:05
@JingsongLi
Copy link
Copy Markdown
Contributor

+1

@JingsongLi JingsongLi merged commit af1af37 into apache:master May 12, 2026
13 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.

[Feature] Introduce drop global index procedure for flink

3 participants