Skip to content

Re-enable QueryCompilationTest.testAggregateJoinRemove #18224

@xiangfu0

Description

@xiangfu0

Motivation

pinot-query-planner/src/test/java/org/apache/pinot/query/QueryCompilationTest.java still has @Ignore on testAggregateJoinRemove(). The ignore message says the test only passes when PRUNE_RULES run before BASIC_RULES, but enabling that changes roughly 50 hard-coded plans and may introduce redundant Project and Exchange nodes.

Scope

  • Reproduce the failing planner state.
  • Decide whether the rule ordering, the expected plan, or the optimization itself is wrong.
  • Re-enable the test once the intended behavior is explicit.

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