Skip to content

Multi-shard + mvexpand edge-case ITs for multi-value fields - #3

Closed
finnegancarroll wants to merge 1 commit into
feature/mv-ppl-onlyfrom
feature/mv-multivalue-it
Closed

finnegancarroll wants to merge 1 commit into
feature/mv-ppl-onlyfrom
feature/mv-multivalue-it

Conversation

@finnegancarroll

@finnegancarroll finnegancarroll commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

Test only changes.

Expands the multi-value keyword-field integration-test coverage exercised against the analytics engine, adding multi-shard coverage that the existing single-shard suite could not reach, plus mvexpand edge cases.

Depends on core fix for multi shard AE group by

opensearch-project/OpenSearch#23091

…e fields

Extends the multi-value keyword IT coverage exercised against the analytics engine:

- CalciteMultiValueDistributedIT (NEW): 2-shard tests that drive the coordinator
  reduce / cross-shard FFI paths a single shard never triggers -
  * cross-shard mvexpand group-by (per-element counts reduced across shards),
  * PARTIAL/FINAL stage assertions via the profile API,
  * backend-routing assertion (multi-value group-by executes on the analytics
    engine / datafusion, not delegated to Lucene), and
  * cross-shard stored-LIST projection (exercises the Utf8/Utf8View LIST-child
    Arrow schema boundary).
- CalciteMultiValueKeywordOperatorIT: adds mvexpand edge cases (per-document
  limit=N, single-element array).
- integ-test/build.gradle: run CalciteMultiValueDistributedIT on the AE cluster task.

These depend on two core (analytics-engine) changes:
- the mvexpand Correlate/Uncollect marking fix (finnegancarroll/OpenSearch, draft
  opensearch-project/OpenSearch#23054), and
- Varun's multi-shard + LIST Arrow-schema fix (opensearch-project/OpenSearch#23040).
The multi-shard cases pass only with #23040 applied; without it the cross-shard
reduce crashes the data node on the LIST schema mismatch.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
@finnegancarroll

Copy link
Copy Markdown
Owner Author

Superseded: the multi-shard + mvexpand edge-case ITs are already included in the current MV stack (see #9). Closing as redundant.

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