Skip to content

[core] Extract lookup state bulk sorter utility - #8868

Merged
JingsongLi merged 1 commit into
apache:masterfrom
JingsongLi:codex/extract-state-bulk-sorter
Jul 28, 2026
Merged

[core] Extract lookup state bulk sorter utility#8868
JingsongLi merged 1 commit into
apache:masterfrom
JingsongLi:codex/extract-state-bulk-sorter

Conversation

@JingsongLi

Copy link
Copy Markdown
Contributor

What changed

  • Move creation of the byte-keyed bulk-load sort buffer to the storage-neutral StateUtils.
  • Keep the RocksDB helper as a deprecated delegating method for source compatibility.

Why

The sorter configuration is shared state infrastructure and does not depend on RocksDB. Moving it out of RocksDBState allows other state backends to reuse it without importing RocksDB implementation classes.

Validation

  • mvn -q -pl paimon-core -am -DskipTests compile
  • mvn -q -pl paimon-core spotless:check -DskipTests

@JingsongLi
JingsongLi marked this pull request as ready for review July 27, 2026 16:25

@leaves12138 leaves12138 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. The extraction preserves the existing sorter configuration and keeps the deprecated RocksDB bridge for compatibility. The paimon-core reactor compiles locally.

@JingsongLi
JingsongLi merged commit dbc0c02 into apache:master Jul 28, 2026
12 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