Uh oh!
There was an error while loading. Please reload this page.
[Fix](nereids) fix merge aggregate rule, rules should not have mutable members - #36145
Merged
Conversation
doris-robot
commented
Jun 11, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
feiniaofeiafei
commented
Jun 12, 2024
CollaboratorAuthor
run buildall |
Contributor
There was a problem hiding this comment.
add test case. add description about the root cause of bug and the PR intro it
doris-robot
commented
Jun 12, 2024
TPC-H: Total hot run time: 40834 ms |
doris-robot
commented
Jun 12, 2024
TPC-DS: Total hot run time: 173293 ms |
doris-robot
commented
Jun 12, 2024
ClickBench: Total hot run time: 31.11 s |
feiniaofeiafei
commented
Jun 12, 2024
CollaboratorAuthor
run buildall |
morrySnow
previously approved these changes
Jun 12, 2024
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
doris-robot
commented
Jun 12, 2024
TPC-H: Total hot run time: 40126 ms |
doris-robot
commented
Jun 12, 2024
TPC-DS: Total hot run time: 173666 ms |
doris-robot
commented
Jun 12, 2024
ClickBench: Total hot run time: 30.39 s |
Uh oh!
There was an error while loading. Please reload this page.
feiniaofeiafei
commented
Jun 12, 2024
CollaboratorAuthor
run buildall |
feiniaofeiafei
commented
Jun 12, 2024
CollaboratorAuthor
run feet |
feiniaofeiafei
commented
Jun 12, 2024
CollaboratorAuthor
run feut |
feiniaofeiafei
commented
Jun 12, 2024
CollaboratorAuthor
run performance |
doris-robot
commented
Jun 12, 2024
TPC-H: Total hot run time: 40076 ms |
doris-robot
commented
Jun 12, 2024
TPC-DS: Total hot run time: 169468 ms |
doris-robot
commented
Jun 12, 2024
ClickBench: Total hot run time: 31.23 s |
924060929
approved these changes
Jun 12, 2024
Contributor
PR approved by at least one committer and no changes requested. |
morrySnow
approved these changes
Jun 13, 2024
feiniaofeiafei added a commit
to feiniaofeiafei/doris
that referenced
this pull request
Jun 13, 2024
…e members (apache#36145) This bug is induced by apache#31811. The innerAggExprIdToAggFunc was a member of MergeAggregate, which was wrong. Because rules like MergeAggregate are single instances, same rules applied to different sub-plans will affect each other. This pr changes innerAggExprIdToAggFunc to a local variable, fixes this bug. No regression use case was added because it’s not a problem that will definitely reoccur and requires the same rule to be applied to multiple plans at the same time.
dataroaring pushed a commit
that referenced
this pull request
Jun 13, 2024
…e members (#36145) This bug is induced by #31811. The innerAggExprIdToAggFunc was a member of MergeAggregate, which was wrong. Because rules like MergeAggregate are single instances, same rules applied to different sub-plans will affect each other. This pr changes innerAggExprIdToAggFunc to a local variable, fixes this bug. No regression use case was added because it’s not a problem that will definitely reoccur and requires the same rule to be applied to multiple plans at the same time.
Closed
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…e members (apache#36145) This bug is induced by apache#31811. The innerAggExprIdToAggFunc was a member of MergeAggregate, which was wrong. Because rules like MergeAggregate are single instances, same rules applied to different sub-plans will affect each other. This pr changes innerAggExprIdToAggFunc to a local variable, fixes this bug. No regression use case was added because it’s not a problem that will definitely reoccur and requires the same rule to be applied to multiple plans at the same time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This bug is induced by #31811.
The innerAggExprIdToAggFunc was a member of MergeAggregate, which was wrong. Because rules like MergeAggregate are single instances, same rules applied to different sub-plans will affect each other. This pr changes innerAggExprIdToAggFunc to a local variable, fixes this bug.
No regression use case was added because it’s not a problem that will definitely reoccur and requires the same rule to be applied to multiple plans at the same time.