[META][TEST] Improve PPL coverage for data streams and OpenTelemetry datasets
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java
- Ambito
- databases, search, testing-qa
Direzione di ricerca
Start by locating the existing PPL integration fixtures and unit tests for mapping parsing, schema merging, index resolution, input ordering, immutability, and error handling. Use #5790 as the first regression case, then add rollover-based OTEL Logs and OTEL Traces coverage; done means CI exercises data-stream and wildcard queries, schema evolution avoids 500 errors, and merge tests cover both input orders without mutating inputs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem statement
PPL tests rely primarily on static, single-index fixtures. This does not fully represent common observability workloads, where OpenTelemetry logs and traces are stored in data streams spanning multiple backing indices.
Current coverage has several gaps:
- Data-stream coverage is limited to a narrow index-pruning scenario.
- OTEL Logs tests use a regular index and do not cover rollover or schema evolution.
- There is no dedicated OTEL Traces fixture and PPL integration coverage.
- Unit tests do not systematically cover schema resolution across empty, populated, conflicting, and differently ordered mappings.
These gaps allow failures such as #5790 to escape CI: a query can work against each backing index independently but fail when a data stream or wildcard resolves to both.
Scope
- Increase PPL integration tests using real data streams with multiple backing indices.
- Increase OTEL Logs coverage for rollover, wildcard queries, and schema evolution.
- Add OTEL Traces datasets and representative PPL query tests.
- Add tests for fields added, removed, or changed across backing indices.
- Add regression tests for #5790 and similar cross-index failures.
- Increase unit-test coverage for mapping parsing, schema merging, index resolution, input ordering, immutability, and error handling.
Acceptance criteria
- OTEL Logs and OTEL Traces data-stream tests run in CI.
- Each data-stream fixture includes multiple backing indices created through rollover.
- Tests cover queries using both data-stream names and wildcard source expressions.
- Schema-evolution cases produce correct results or stable, documented 4xx errors, never 500 errors.
- Schema-merge unit tests cover both input orders and verify that inputs are not mutated.
Related issues
- #5790 — Cross-index object mapping merge failure.
- #5754 — Command × data-type integration test matrix.
- #5598 — Generated command-combination and pushdown testing.
- #5505 — Command-chain testing using index views.
- #5811 — Composite aggregation pushdown does not support a field whose type differs across indices
- Lingua principale
- Java
- Stelle
- 175
- Fork
- 233
- Merge medio
- 2g 7h
- PR unite (30g)
- 37
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opensearch-project/sql
-
[Enhancement] Make the flat_object read depth cap configurable instead of a constantForse già presa @RyanL1997 l’ha presa 18 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opensearch-project/sql#5842 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] PromQL queries fail with InvalidTypeIdException when metric has a label named "type"Forse già presa @nagendramohan l’ha presa 81 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
opensearch-project/sql#5684 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[DOC] Calcite settings documentation missing examplesForse già presa @AzazelSensei l’ha presa 38 giorni fa. Apertadocumentation PPL
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
opensearch-project/sql#4806 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Analytics routing does not resolve aliases and wildcard index expressionsForse già presa @KarstenSchnitter l’ha presa 1 giorno fa. Apertauntriaged
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
opensearch-project/sql#5916 ·
I maintainer di solito rispondono entro 1 giorno
-
untriaged
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
opensearch-project/sql#5911 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di opensearch-project/sql
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
IdentityArrayObjectSet iterator remove may throw ArrayIndexOutOfBoundsExceptionForse già presa @jiteshkhatri11 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
javapathfinder/jpf-core#660 · 1 commento ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
breaking change bug needs human review not ready priority medium size S
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
martin-francois/symphony-trello#1193 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno