Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[META][TEST] Improve PPL coverage for data streams and OpenTelemetry datasets

Aperta
#5,806 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

enhancement PPL testing

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opensearch-project/sql

Tutte le issue di opensearch-project/sql

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.