-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
expression: add header for tidb_decode_plan result #18440
Conversation
Signed-off-by: crazycs520 <crazycs520@gmail.com>
/rebuild |
Codecov Report
@@ Coverage Diff @@
## master #18440 +/- ##
===========================================
Coverage 79.4834% 79.4834%
===========================================
Files 540 540
Lines 144961 144961
===========================================
Hits 115220 115220
Misses 20464 20464
Partials 9277 9277 |
Signed-off-by: crazycs520 <crazycs520@gmail.com>
… into refine-decode-plan
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
@tangenta,Thanks for your review. |
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
@djshow832,Thanks for your review. |
cherry pick to release-4.0 in PR #18501 |
What problem does this PR solve?
After #17573, TiDB will record runtime information in slow-log plan field. the
tidb_decode_plan
maybe output 8 fields when plan with runtime information. It's hard to know the filed means without a header/column_name.This PR add header for
tidb_decode_plan
result, such as below:Before this PR, the result will be:
What is changed and how it works?
Related changes
Check List
Tests
Side effects
Release note