Skip to content

[core] Support array row fields in multivalue indexes - #11706

Draft
XiaoHongbo-Hope wants to merge 27 commits into
apache:masterfrom
XiaoHongbo-Hope:feat/nested-multivalue-index
Draft

XiaoHongbo-Hope wants to merge 27 commits into
apache:masterfrom
XiaoHongbo-Hope:feat/nested-multivalue-index

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Support independent membership queries on selected scalar fields inside ARRAY<ROW> using multivalue bitmap indexes. Reuses existing array predicates through ArrayFieldTransform; multivalue-index.fields and per-file child IDs make incomplete coverage fall back safely.

Build with Flink. Spark rejects ROW-array builds. Same-element conjunctions, range queries, and SQL predicate translation are outside this PR. Readers retain normal filtering and the v1 split format.

Array-field JSON uses strings for Decimal and floating-point literals and rejects lossy integer and temporal conversions.

Conditions dropped during planning or evaluation require ranked-search verification; v1 split encoding is unchanged.

Validation

293 targeted Common/Core tests passed, including planning completeness, split serialization, ranked filtering, and malformed JSON literals. Checkstyle, Spotless, and git diff --check passed. Flink index creation and Spark rejection were verified previously.

@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as draft December 5, 2026 08:57
@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as ready for review December 5, 2026 15:47
@XiaoHongbo-Hope
XiaoHongbo-Hope marked this pull request as draft December 6, 2026 06:52
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.

1 participant