Skip to content

Investigate window-function alias loss in planner snapshot expectations #18225

@xiangfu0

Description

@xiangfu0

Motivation

pinot-query-planner/src/test/resources/queries/WindowFunctionPlans.json repeats the note TODO: Look into why aliases are getting ignored in the final plan across multiple cases.

That suggests either a genuine alias-propagation bug in the planner or stale expected outputs in the snapshot file.

Scope

  • Determine whether aliases should survive to the final explain plan for these window queries.
  • Fix planner behavior or refresh the plan snapshots.
  • Remove the repeated TODO notes once expectations are stable.

Notes

Observed on upstream/master on April 15, 2026.

Metadata

Metadata

Assignees

No one assigned

    Labels

    javaPull requests that update Java codemulti-stageRelated to the multi-stage query enginepriority: lowNice to have, can waitqueryRelated to query processingtestingRelated to tests or test infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions