You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "uchenily (via GitHub)" <gi...@apache.org> on 2025/10/30 09:57:25 UTC
[PR] [Fix](Olap)Fixs uninitialized variables in CompactionSampleInfo [doris]
uchenily opened a new pull request, #57523:
URL: https://github.com/apache/doris/pull/57523
### What problem does this PR solve?
Fixs the uninitialized `group_data_size` in CompactionSampleInfo, which resulted in an unreasonable `batch_size` for the estimate_batch_size() method.
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: https://github.com/apache/doris-website/pull/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 -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized variables in CompactionSampleInfo [doris]
Posted by "uchenily (via GitHub)" <gi...@apache.org>.
uchenily commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3467065561
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3467115433
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "uchenily (via GitHub)" <gi...@apache.org>.
uchenily commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3472241868
run cloud_p0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3467701811
# BE UT Coverage Report
Increment line coverage `100.00% (1/1)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/e47b5264936a7c27c45a0bab3736a0baffabfc71_e47b5264936a7c27c45a0bab3736a0baffabfc71/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/e47b5264936a7c27c45a0bab3736a0baffabfc71_e47b5264936a7c27c45a0bab3736a0baffabfc71/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 52.71% (18041/34224) |
| Line Coverage | 37.96% (163714/431245) |
| Region Coverage | 32.33% (124815/386099) |
| Branch Coverage | 33.70% (54577/161953) |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3468227282
# BE Regression && UT Coverage Report
Increment line coverage `100.00% (1/1)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/57523_e47b5264936a7c27c45a0bab3736a0baffabfc71_merge/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/57523_e47b5264936a7c27c45a0bab3736a0baffabfc71_merge/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 57.45% (19320/33631) |
| Line Coverage | 42.73% (184525/431823) |
| Region Coverage | 37.16% (145477/391533) |
| Branch Coverage | 38.21% (62296/163024) |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3467413593
<details>
<summary>ClickBench: <b>Total hot run time: 28.2 s</b></summary>
```
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit e47b5264936a7c27c45a0bab3736a0baffabfc71, data reload: false
query1 0.06 0.06 0.05
query2 0.09 0.06 0.06
query3 0.26 0.08 0.08
query4 1.61 0.12 0.12
query5 0.30 0.26 0.25
query6 1.18 0.66 0.65
query7 0.03 0.02 0.03
query8 0.06 0.05 0.04
query9 0.63 0.53 0.53
query10 0.59 0.57 0.58
query11 0.17 0.12 0.12
query12 0.15 0.12 0.12
query13 0.64 0.61 0.60
query14 1.04 1.03 1.00
query15 0.86 0.84 0.84
query16 0.40 0.39 0.39
query17 1.07 1.06 1.07
query18 0.24 0.21 0.20
query19 1.99 1.83 1.82
query20 0.02 0.01 0.02
query21 15.46 0.20 0.14
query22 5.04 0.07 0.04
query23 15.69 0.26 0.10
query24 2.33 0.89 1.17
query25 0.09 0.06 0.06
query26 0.15 0.13 0.14
query27 0.07 0.06 0.06
query28 4.67 1.17 0.94
query29 12.67 4.03 3.28
query30 0.29 0.13 0.12
query31 2.82 0.58 0.39
query32 3.24 0.56 0.48
query33 3.06 3.03 3.07
query34 15.76 5.20 4.57
query35 4.55 4.58 4.59
query36 0.68 0.51 0.50
query37 0.10 0.07 0.06
query38 0.07 0.05 0.04
query39 0.04 0.04 0.03
query40 0.18 0.15 0.14
query41 0.09 0.04 0.03
query42 0.04 0.03 0.03
query43 0.05 0.04 0.03
Total cold run time: 98.53 s
Total hot run time: 28.2 s
```
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb merged PR #57523:
URL: https://github.com/apache/doris/pull/57523
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3467115261
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized variables in CompactionSampleInfo [doris]
Posted by "Thearas (via GitHub)" <gi...@apache.org>.
Thearas commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3467062624
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR).
Please clearly describe your PR:
1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
3. What features were added. Why was this function added?
4. Which code was refactored and why was this part of the code refactored?
5. Which functions were optimized and what is the difference before and after the optimization?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Fix](Olap)Fixs uninitialized group_data_size in CompactionSampleInfo [doris]
Posted by "hello-stephen (via GitHub)" <gi...@apache.org>.
hello-stephen commented on PR #57523:
URL: https://github.com/apache/doris/pull/57523#issuecomment-3472732147
# BE Regression && UT Coverage Report
Increment line coverage `100.00% (1/1)` :tada:
[Increment coverage report](http://coverage.selectdb-in.cc/coverage/57523_e47b5264936a7c27c45a0bab3736a0baffabfc71_merge/increment_report/index.html)
[Complete coverage report](http://coverage.selectdb-in.cc/coverage/57523_e47b5264936a7c27c45a0bab3736a0baffabfc71_merge/report/index.html)
| Category | Coverage |
|-------------------|--------------------|
| Function Coverage | 57.45% (19320/33631) |
| Line Coverage | 42.73% (184525/431823) |
| Region Coverage | 37.16% (145477/391533) |
| Branch Coverage | 38.21% (62296/163024) |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org