-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[feat](profile) Print changed session var in profile #41016
[feat](profile) Print changed session var in profile #41016
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
db2164b
to
56d54b9
Compare
run buildall |
run buildall |
1 similar comment
run buildall |
run buildall |
run buildall |
run buildall |
run buildall |
public void getExecutionProfileContent(StringBuilder builder) { | ||
if (builder == null) { | ||
builder = new StringBuilder(); | ||
} | ||
|
||
if (profileHasBeenStored()) { | ||
LOG.info("Profile {} has been stored to storage, reading it from storage", id); |
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.
为什么改这个?
run buildall |
run buildall |
…oris into feat-profile-session-var
run buildall |
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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.
LGTM
Add changed session var like follow: ``` Changed Session Variables: VarName | CurrentValue | DefaultValue ------------------------------------------------|---------------------|------------- character_set_results | NULL | utf8mb4 enable_profile | true | false enable_auto_analyze | false | true max_scan_key_num | -1 | 48 enable_prepared_stmt_audit_log | true | false sql_mode | STRICT_TRANS_TABLES | wait_timeout | 31000 | 28800 parallel_pipeline_task_num | 8 | 0 num_scanner_threads | 10 | 0 experimental_enable_agg_state | true | false max_pushdown_conditions_per_column | -1 | 1024 experimental_parallel_scan_min_rows_per_scanner | 16384 | 2097152 max_allowed_packet | 1048576 | 16777216 ```
Add changed session var like follow: ``` Changed Session Variables: VarName | CurrentValue | DefaultValue ------------------------------------------------|---------------------|------------- character_set_results | NULL | utf8mb4 enable_profile | true | false enable_auto_analyze | false | true max_scan_key_num | -1 | 48 enable_prepared_stmt_audit_log | true | false sql_mode | STRICT_TRANS_TABLES | wait_timeout | 31000 | 28800 parallel_pipeline_task_num | 8 | 0 num_scanner_threads | 10 | 0 experimental_enable_agg_state | true | false max_pushdown_conditions_per_column | -1 | 1024 experimental_parallel_scan_min_rows_per_scanner | 16384 | 2097152 max_allowed_packet | 1048576 | 16777216 ```
Add changed session var like follow: ``` Changed Session Variables: VarName | CurrentValue | DefaultValue ------------------------------------------------|---------------------|------------- character_set_results | NULL | utf8mb4 enable_profile | true | false enable_auto_analyze | false | true max_scan_key_num | -1 | 48 enable_prepared_stmt_audit_log | true | false sql_mode | STRICT_TRANS_TABLES | wait_timeout | 31000 | 28800 parallel_pipeline_task_num | 8 | 0 num_scanner_threads | 10 | 0 experimental_enable_agg_state | true | false max_pushdown_conditions_per_column | -1 | 1024 experimental_parallel_scan_min_rows_per_scanner | 16384 | 2097152 max_allowed_packet | 1048576 | 16777216 ```
Add changed session var like follow: