Skip to content

feat(global-index): align global index external path options with Java - #615

Merged
SteNicholas merged 3 commits into
apache:mainfrom
lszskye:codex/sync_java_external_path
Dec 4, 2026
Merged

SteNicholas merged 3 commits into
apache:mainfrom
lszskye:codex/sync_java_external_path

Conversation

@lszskye

@lszskye lszskye commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Introduce global-index.external-paths for multiple global index external roots, following the option names and precedence in apache/paimon#11248.

The new option takes precedence over global-index.external-path, including when explicitly empty, which selects table-local storage. The legacy singular option represents one URI and preserves literal commas.

Ensure DropTable collects external roots from both options across table schemas and branches.

Tests

src/paimon/core/core_options_test.cpp
src/paimon/core/global_index/global_index_file_manager_test.cpp
src/paimon/core/catalog/file_system_catalog_test.cpp

API and Format

Add the public Options::GLOBAL_INDEX_EXTERNAL_PATHS constant.
No storage format or protocol changes.

Generative AI tooling

Generated-by: OpenAI Codex CLI 0.155.1

@lxy-9602 lxy-9602 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

@SteNicholas SteNicholas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@SteNicholas
SteNicholas merged commit 4445cfc into apache:main Dec 4, 2026
18 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.

3 participants