Skip to content

[fix](planner)keep all agg functions if there is any virtual slots in group by list#18630

Merged
yiguolei merged 1 commit intoapache:masterfrom
starocean999:master_bug_1222
Apr 13, 2023
Merged

[fix](planner)keep all agg functions if there is any virtual slots in group by list#18630
yiguolei merged 1 commit intoapache:masterfrom
starocean999:master_bug_1222

Conversation

@starocean999
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

Problem summary

Because of the limitation of ProjectPlanner, we have to keep set agg functions materialized if there is any virtual slots in the group by list, such as 'GROUPING_ID' in the group by list etc.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@starocean999
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added area/planner Issues or PRs related to the query planner kind/test labels Apr 13, 2023
@yiguolei yiguolei added dev/1.2.4 usercase Important user case type label labels Apr 13, 2023
Copy link
Contributor

@yiguolei yiguolei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yiguolei yiguolei merged commit aa6b3cc into apache:master Apr 13, 2023
morningman pushed a commit that referenced this pull request Apr 13, 2023
… group by list (#18630)

Because of the limitation of ProjectPlanner, we have to keep set agg functions materialized if there is any virtual slots in the group by list, such as 'GROUPING_ID' in the group by list etc.
gnehil pushed a commit to gnehil/doris that referenced this pull request Apr 21, 2023
… group by list (apache#18630)

Because of the limitation of ProjectPlanner, we have to keep set agg functions materialized if there is any virtual slots in the group by list, such as 'GROUPING_ID' in the group by list etc.
Reminiscent pushed a commit to Reminiscent/doris that referenced this pull request May 15, 2023
… group by list (apache#18630)

Because of the limitation of ProjectPlanner, we have to keep set agg functions materialized if there is any virtual slots in the group by list, such as 'GROUPING_ID' in the group by list etc.
mongo360 pushed a commit to mongo360/doris that referenced this pull request Jul 12, 2023
… group by list (apache#18630)

Because of the limitation of ProjectPlanner, we have to keep set agg functions materialized if there is any virtual slots in the group by list, such as 'GROUPING_ID' in the group by list etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/planner Issues or PRs related to the query planner dev/1.2.4-merged kind/test usercase Important user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants