fix(datafusion): normalize index_type in global index procedures - #715
Merged
JingsongLi merged 1 commit intoAug 15, 2026
Merged
Conversation
jerry-024
added a commit
to jerry-024/paimon-rust
that referenced
this pull request
Aug 17, 2026
* main: perf(vindex): size native batches by active indexes (apache#709) fix(data-evolution): require row tracking and row IDs (apache#718) feat(go): add table write bindings (apache#658) fix(scan): preserve Data Evolution file order in row-id groups (apache#717) fix(file_index): align file index format with Java V1 (apache#719) fix: configure OpenDAL writer chunk size (apache#713) fix(python): release GIL during catalog I/O (apache#716) feat(write): add fixed-bucket write primitives for postpone tables (apache#659) feat: rust examples for creating and querying Paimon tables (apache#648) fix(table): reject row ranges for format tables at read construction (apache#700) perf(arrow): prune IN predicates with row-group stats (apache#705) feat(io): support in-memory local cache (apache#710) fix(dlf): refresh expiring credentials (apache#714) fix(datafusion): normalize index_type in global index procedures (apache#715) fix(auth): fail closed on query-auth tables outside the read boundary (apache#691) # Conflicts: # crates/paimon/src/table/vector_search_builder.rs # crates/paimon/src/vindex/reader.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sys.create_global_indexmatchedindex_typecase-insensitively for btree andbitmap but exactly for the vindex types, so
index_type => 'BTREE'worked whileindex_type => 'IVF-FLAT'was rejected as unsupported.sys.drop_global_indexalready canonicalizes every type. None of the three procedures trimmed the
argument, so
' btree 'was reported as unsupported too.The three procedures now canonicalize
index_typeat their boundary through ashared helper (trim, then lowercase), mirroring
indexType.toLowerCase(Locale.ROOT).trim()in Java's Flink and SparkCreate/DropGlobalIndexProcedure. The core builders keep exact matching: theyare the analog of Java's
GlobalIndexerand persistindex_typeinto indexmetadata, which the read path matches exactly. An unsupported type is echoed
back as written so a typo stays recognizable.
create_lumina_indexshares the helper but has no end-to-end test here becauseit needs
LUMINA_LIB_PATH, which CI does not provide.