-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
session: set process info before building plan (#22101) #22148
session: set process info before building plan (#22101) #22148
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
@wshwsh12 you're already a collaborator in bot's repo. |
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
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
PTAL @XuHuaiyu @lzmhhh123 |
/merge |
Your auto merge job has been accepted, waiting for:
|
@wshwsh12 Please resolve conflicts. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
/run-all-tests |
/merge |
1 similar comment
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry-pick #22101 to release-4.0
What problem does this PR solve?
Issue Number: close #22068
Problem Summary:
Uncorrelated subqueries will execute once when building plan, and it maybe cost much time. So we set process info before building plan, to trace the running time and info.
What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Related changes
Check List
Tests
Session 1:
select 1 from t where a = (select sleep(30));
Session 2:
Side effects
Release note