[Feature][PPL] Production hardening and validation for progressive query execution

オープン
#5,801 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java

調査の方向性

The issue is about hardening the Progressive Query Execution (PPL) feature. Start by reviewing the parent issue #5765 and the existing ProgressiveQueryExecution contract. Examine the prototype code and integration seams. Run existing Calcite integration tests and YAML REST tests to understand the baseline. The goal is to define memory limits, make partial-reduce cadence configurable, and validate cleanup, FGAC, cancellation, and shutdown scenarios.

索引モデルが issue の本文から書いたものです。

説明

async calcite enhancement PPL testing

Parent: #5765

Goal

Turn the validated asynchronous and partial-result prototypes into a production-quality implementation with explicit module boundaries, bounded resource use, and complete regression coverage.

Scope

  • Keep ProgressiveQueryExecution as the only lifecycle-facing execution contract.
  • Remove PoC-only routing and physical-plan hooks in favor of explicit production integration seams.
  • Keep execution callback, Context, StateStore, and aggregation observer details out of the lifecycle layer.
  • Define memory limits and failure behavior for APPEND and REPLACE state.
  • Make partial-reduce cadence configurable and bounded.
  • Validate cleanup, owner-node loss, FGAC, cancellation, expiration, and shutdown.
  • Document supported partial-result shapes and progress semantics.

Acceptance criteria

  • No synchronous behavior or performance regression outside the accepted threshold.
  • All existing Calcite integration tests and YAML REST tests pass.
  • A REST matrix covers non-blocking rows, Composite aggregation, fully pushed aggregation, pushed aggregation with Calcite post-processing, blocking plans, and failure cases.
  • Every final async result is equivalent to the synchronous result.
  • First-data and final latency, memory usage, and aggregation reduce overhead are reported on a multi-shard large dataset.
  • Resource cleanup and lifecycle race tests show no leaked tasks, search contexts, statements, or StateStores.
主要言語
Java
スター
175
フォーク
236
平均マージ
2日 19時間
マージ済み PR(30日)
40

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opensearch-project/sql のほかの issue

opensearch-project/sql の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。