You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Unify PPL Calcite V3 processing via unified query API #5068
The current PPL Calcite V3 execution path and the Unified Query API contain overlapping responsibilities with duplicated code and divergent implementations. Over time, this increases maintenance cost and creates a growing risk of behavioral drift across PPL execution paths.
As the long-term PPL specification reference implementation, the Unified Query API should become the single entrypoint and reusable library for any PPL implementor or adopter, including OpenSearch itself.
What solution would you like?
Refactor the PPL Calcite V3 execution path to reuse the Unified Query API components as the primary building blocks:
Unified Planning: QueryService should delegate Calcite planning to UnifiedQueryPlanner instead of duplicating the AST-to-RelNode conversion and collation preservation logic.
Unified Context: QueryService should use UnifiedQueryContext (or share its context-building logic) instead of maintaining separate FrameworkConfig construction.
Unified Execution: OpenSearchExecutionEngine should leverage UnifiedQueryCompiler for plan compilation, or share a common execution abstraction.
As single source of truth, all Calcite-based execution flows (including UT/IT scaffolding and any shared base execution classes) should route through the same unified pipeline to ensure consistent behavior.
What alternatives have you considered?
Keep separate implementations: Maintain both paths independently. This was rejected because it increases maintenance burden and risks behavioral divergence.
changed the title [-][FEATURE] Unify PPL Calcite V3 execution via unified query API[/-][+][FEATURE] Unify PPL Calcite V3 processing via unified query API[/+]on Jan 23, 2026
Activity
[-][FEATURE] Migrate PPL Calcite V3 execution path to unified query API[/-][+][FEATURE] Unify PPL Calcite V3 execution via unified query API[/+][-][FEATURE] Unify PPL Calcite V3 execution via unified query API[/-][+][FEATURE] Unify PPL Calcite V3 processing via unified query API[/+]penghuo commentedon Apr 2, 2026
@LantaoJin What is the purpose of #5298? How it reletaed to Unified Query API?