Uh oh!
There was an error while loading. Please reload this page.
[fix](CostBasedRewriteJob)restore StatementContext.rewrittenCteProducer in CostBasedRewriteJob - #59517
Conversation
hello-stephen
commented
Jan 1, 2026
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
englefly
commented
Jan 1, 2026
run buildall |
6e97d27 to
073c151Compareenglefly
commented
Jan 1, 2026
run buildall |
doris-robot
commented
Jan 1, 2026
TPC-H: Total hot run time: 32774 ms |
doris-robot
commented
Jan 1, 2026
TPC-DS: Total hot run time: 173200 ms |
doris-robot
commented
Jan 1, 2026
ClickBench: Total hot run time: 26.79 s |
englefly
commented
Jan 1, 2026
run buildall |
doris-robot
commented
Jan 1, 2026
TPC-H: Total hot run time: 32270 ms |
doris-robot
commented
Jan 1, 2026
TPC-DS: Total hot run time: 172742 ms |
doris-robot
commented
Jan 1, 2026
ClickBench: Total hot run time: 27.06 s |
ef065c6 to
4438cb1Compareenglefly
commented
Jan 1, 2026
run buildall |
doris-robot
commented
Jan 1, 2026
TPC-H: Total hot run time: 32582 ms |
doris-robot
commented
Jan 1, 2026
TPC-DS: Total hot run time: 173742 ms |
doris-robot
commented
Jan 1, 2026
ClickBench: Total hot run time: 27.28 s |
hello-stephen
commented
Jan 1, 2026
FE Regression Coverage ReportIncrement line coverage |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
englefly
commented
Jan 6, 2026
run buildall |
doris-robot
commented
Jan 6, 2026
TPC-H: Total hot run time: 31683 ms |
doris-robot
commented
Jan 6, 2026
TPC-DS: Total hot run time: 172076 ms |
doris-robot
commented
Jan 6, 2026
ClickBench: Total hot run time: 26.51 s |
englefly
commented
Jan 13, 2026
run buildall |
doris-robot
commented
Jan 13, 2026
TPC-H: Total hot run time: 31160 ms |
doris-robot
commented
Jan 13, 2026
TPC-DS: Total hot run time: 173647 ms |
hello-stephen
commented
Jan 13, 2026
FE UT Coverage ReportIncrement line coverage |
englefly
commented
Jan 14, 2026
run p0 |
1 similar comment
englefly
commented
Jan 14, 2026
run p0 |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
englefly
commented
Jan 22, 2026
run nonConcurrent |
Uh oh!
There was an error while loading. Please reload this page.
…er in CostBasedRewriteJob (#59517) ### What problem does this PR solve? cost based rewrite job may contaminate StatementContext.rewrittenCteProducer fix solution: clone current rewrittenCteProducer, and restore it after each call to getCost(...) Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None ### Check List (For Author) - Test <!-- At least one of them must be included. --> - [ ] Regression test - [ ] Unit Test - [ ] Manual test (add detailed scripts or steps below) - [ ] No need to test or manual test. Explain why: - [ ] This is a refactor/code format and no logic has been changed. - [ ] Previous test can cover this change. - [ ] No code files have been changed. - [ ] Other reason <!-- Add your reason? --> - Behavior changed: - [ ] No. - [ ] Yes. <!-- Explain the behavior change --> - Does this need documentation? - [ ] No. - [ ] Yes. <!-- Add document PR link here. eg: apache/doris-website#1214 --> ### Check List (For Reviewer who merge this PR) - [ ] Confirm the release note - [ ] Confirm test cases - [ ] Confirm document - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
…tenCteProducer in CostBasedRewriteJob apache#59517 (apache#60742) Cherry-picked from apache#59517 Co-authored-by: minghong <zhouminghong@selectdb.com>
What problem does this PR solve?
cost based rewrite job may contaminate StatementContext.rewrittenCteProducer
fix solution: clone current rewrittenCteProducer, and restore it after each call to getCost(...)
Issue Number: close #xxx
Related PR: #21727
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)