Skip to content

Conversation

@englefly
Copy link
Contributor

What problem does this PR solve?

The profile holds a physical plan object. In profile.releaseMemory(), the physicalPlan needs to be set to null to release it, preventing the groupExpression in Memo from failing to be released in a timely manner.
Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • 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
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@englefly
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 23, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@doris-robot
Copy link

ClickBench: Total hot run time: 27.74 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 923c17d174c940bd49e05656bf66af245db5aa35, data reload: false

query1	0.06	0.05	0.05
query2	0.09	0.06	0.06
query3	0.26	0.09	0.09
query4	1.60	0.12	0.12
query5	0.28	0.26	0.24
query6	1.17	0.67	0.65
query7	0.03	0.03	0.02
query8	0.06	0.04	0.05
query9	0.63	0.54	0.53
query10	0.59	0.60	0.58
query11	0.17	0.12	0.12
query12	0.16	0.13	0.13
query13	0.64	0.61	0.60
query14	1.02	1.05	1.03
query15	0.87	0.85	0.88
query16	0.39	0.41	0.39
query17	1.07	1.04	1.03
query18	0.22	0.21	0.21
query19	1.99	1.80	1.84
query20	0.02	0.02	0.01
query21	15.48	0.20	0.13
query22	5.10	0.08	0.05
query23	15.65	0.29	0.11
query24	3.04	1.30	0.31
query25	0.08	0.06	0.05
query26	0.16	0.14	0.15
query27	0.06	0.06	0.05
query28	4.15	1.15	0.95
query29	12.63	4.03	3.38
query30	0.30	0.17	0.12
query31	2.83	0.62	0.38
query32	3.23	0.56	0.46
query33	3.09	3.04	3.15
query34	15.93	5.19	4.58
query35	4.56	4.58	4.63
query36	0.67	0.52	0.49
query37	0.11	0.07	0.06
query38	0.07	0.05	0.04
query39	0.04	0.03	0.04
query40	0.19	0.16	0.14
query41	0.08	0.04	0.04
query42	0.04	0.03	0.04
query43	0.04	0.04	0.03
Total cold run time: 98.85 s
Total hot run time: 27.74 s

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 100.00% (3/3) 🎉
Increment coverage report
Complete coverage report

@englefly
Copy link
Contributor Author

run p0

this.changedSessionVarCache = "";
this.physicalPlan = null;
this.rowsProducedMap = null;
this.physicalRelations = null;
Copy link
Contributor

Choose a reason for hiding this comment

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

does planNodeMap need to be removed?

@yiguolei yiguolei merged commit ca8c12d into apache:master Oct 24, 2025
36 of 39 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 24, 2025
### What problem does this PR solve?
The profile holds a physical plan object. In profile.releaseMemory(),
the physicalPlan needs to be set to null to release it, preventing the
groupExpression in Memo from failing to be released in a timely manner.
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 -->
github-actions bot pushed a commit that referenced this pull request Oct 24, 2025
### What problem does this PR solve?
The profile holds a physical plan object. In profile.releaseMemory(),
the physicalPlan needs to be set to null to release it, preventing the
groupExpression in Memo from failing to be released in a timely manner.
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 -->
yiguolei pushed a commit that referenced this pull request Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants