[fix](agg) fix RowsProduced counter is not set#38271
Merged
HappenLee merged 1 commit intoapache:masterfrom Jul 24, 2024
Merged
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 39893 ms |
TPC-DS: Total hot run time: 173913 ms |
ClickBench: Total hot run time: 30.19 s |
yiguolei
approved these changes
Jul 24, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
Gabriel39
approved these changes
Jul 24, 2024
dataroaring
pushed a commit
that referenced
this pull request
Jul 24, 2024
## Proposed changes
`RowsProduced` and `BlocksProduced` counter of agg source is not right:
```
Pipeline : 0(instance_num=4):
RESULT_SINK_OPERATOR (id=0):
- PlanInfo
- TABLE: rqg_1333358549.table_10_undef_partitions2_keys3_properties4_distributed_by52(table_10_undef_partitions2_keys3_properties4_distributed_by52), PREAGGREGATION: ON
- partitions=1/1 (table_10_undef_partitions2_keys3_properties4_distributed_by52)
- tablets=10/10, tabletList=39981436181982,39981436181984,39981436181986 ...
- cardinality=10, avgRowSize=0.0, numNodes=1
- pushAggOp=NONE
- BlocksProduced: sum 4, avg 1, max 1, min 1
- CloseTime: avg 28.396us, max 43.17us, min 19.647us
- ExecTime: avg 514.688us, max 694.677us, min 353.811us
- InitTime: avg 52.136us, max 55.309us, min 46.966us
- InputRows: sum 0, avg 0, max 0, min 0
- MemoryUsage: sum , avg , max , min
- PeakMemoryUsage: sum 0.00 , avg 0.00 , max 0.00 , min 0.00
- OpenTime: avg 212.328us, max 249.375us, min 170.678us
- RowsProduced: sum 8, avg 2, max 3, min 0
- WaitForDependencyTime: avg 0ns, max 0ns, min 0ns
- WaitForDependency[RESULT_SINK_OPERATOR_DEPENDENCY]Time: avg 0ns, max 0ns, min 0ns
AGGREGATION_OPERATOR (id=10 , nereids_id=598):
- PlanInfo
- output: count(pk)[#31]
- group by: col_varchar_10__undef_signed
- sortByGroupKey:false
- cardinality=8
- projections: field1, col_varchar_10__undef_signed
- project output tuple id: 11
- BlocksProduced: sum 0, avg 0, max 0, min 0
- CloseTime: avg 5.617us, max 6.543us, min 5.247us
- ExecTime: avg 1.172ms, max 1.609ms, min 289.815us
- InitTime: avg 0ns, max 0ns, min 0ns
- MemoryUsage: sum , avg , max , min
- PeakMemoryUsage: sum 0.00 , avg 0.00 , max 0.00 , min 0.00
- OpenTime: avg 130.883us, max 143.370us, min 120.96us
- ProjectionTime: avg 420.824us, max 636.882us, min 763ns
- RowsProduced: sum 0, avg 0, max 0, min 0
- WaitForDependency[AGGREGATION_OPERATOR_DEPENDENCY]Time: avg 72.547ms, max 79.260ms, min 65.118ms
```
Closed
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 free
to 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.
Proposed changes
RowsProducedandBlocksProducedcounter of agg source is not right: