apache / apache/cloudberry

MERGE16_FIXME: Remove "root->numOrderedAggs > 0" from the if clause.

Open
#1,784 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.4k
Forks
247
Avg merge
4d 3h
Merged PRs (30d)
39

Description

src/backend/optimizer/plan/planner.c: 4290

/*
* MERGE16_FIXME: Remove "root->numOrderedAggs > 0" from the if clause.
* It should cause some errors for dqa, but is it correct?
*/

Contributor guide

Open the contributing guide

Research direction

Start at src/backend/optimizer/plan/planner.c:4290 and inspect the MERGE16_FIXME condition involving root->numOrderedAggs. Determine whether removing that condition produces the expected DQA behavior and what errors result; done means resolving the FIXME with evidence from relevant planner or DQA tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.