-
Notifications
You must be signed in to change notification settings - Fork 423
executor: report hash agg hash table stats #11084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ti-chi-bot
merged 2 commits into
pingcap:master
from
windtalker:record_hash_agg_hash_table_stats
Sep 11, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟠 Major | 🏗️ Heavy lift
Use camelCase for the new C++ variables, members, locals, and parameters.
dbms/src/Flash/Coprocessor/HashTableStats.h#L69-L70: Renamehash_table_stats_mutexandhash_table_statsto camelCase.dbms/src/Flash/Coprocessor/DAGContext.h#L242-L244: Rename new parameter names to camelCase.dbms/src/Flash/Coprocessor/DAGContext.h#L557-L558: Renameaggregation_profile_info_mapto camelCase.dbms/src/Flash/Coprocessor/DAGContext.cpp#L358-L370: Rename the new parameters and locals to camelCase.dbms/src/Interpreters/Aggregator.h#L952-L952: Rename the new constructor parameter to camelCase.dbms/src/Interpreters/Aggregator.h#L1078-L1086: Rename the reporting parameters and profile fields to camelCase.dbms/src/Interpreters/Aggregator.cpp#L300-L302: Rename the constructor parameter and member initialization to camelCase.dbms/src/Interpreters/Aggregator.cpp#L2440-L2459: Rename the reporting parameter and local variables to camelCase.dbms/src/DataStreams/ParallelAggregatingBlockInputStream.h#L45-L46: Rename the new constructor parameter to camelCase.dbms/src/Operators/AggregateContext.h#L40-L44: Rename the new constructor parameter and initialization target to camelCase.dbms/src/Operators/AggregateContext.h#L99-L100: Renamehash_table_stats_profile_infoto camelCase.dbms/src/Operators/AggregateContext.cpp#L36-L37: Use the renamed camelCase member.dbms/src/Operators/AutoPassThroughAggregateTransform.h#L32-L45: Rename the new parameter and forwarded argument to camelCase.dbms/src/Flash/Statistics/CommonExecutorImpl.h#L48-L48: Rename the new local variable to camelCase.dbms/src/Flash/tests/gtest_execution_summary.cpp#L151-L202: Rename new test parameters and locals to camelCase.As per coding guidelines,
**/*.{cpp,h,hpp}requires “Method and variable names should usecamelCase.”📍 Affects 11 files
dbms/src/Flash/Coprocessor/HashTableStats.h#L69-L70(this comment)dbms/src/Flash/Coprocessor/DAGContext.h#L242-L244dbms/src/Flash/Coprocessor/DAGContext.h#L557-L558dbms/src/Flash/Coprocessor/DAGContext.cpp#L358-L370dbms/src/Interpreters/Aggregator.h#L952-L952dbms/src/Interpreters/Aggregator.h#L1078-L1086dbms/src/Interpreters/Aggregator.cpp#L300-L302dbms/src/Interpreters/Aggregator.cpp#L2440-L2459dbms/src/DataStreams/ParallelAggregatingBlockInputStream.h#L45-L46dbms/src/Operators/AggregateContext.h#L40-L44dbms/src/Operators/AggregateContext.h#L99-L100dbms/src/Operators/AggregateContext.cpp#L36-L37dbms/src/Operators/AutoPassThroughAggregateTransform.h#L32-L45dbms/src/Flash/Statistics/CommonExecutorImpl.h#L48-L48dbms/src/Flash/tests/gtest_execution_summary.cpp#L151-L202🤖 Prompt for AI Agents
Source: Coding guidelines