-
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
statistic: fix error when fast analyze on only indexes #15889
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15889 +/- ##
===========================================
Coverage ? 80.5492%
===========================================
Files ? 505
Lines ? 135301
Branches ? 0
===========================================
Hits ? 108984
Misses ? 17836
Partials ? 8481 |
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
/merge |
Your auto merge job has been accepted, waiting for 15907, 15845, 15758, 15956, 15776 |
/run-all-tests |
@lzmhhh123 merge failed. |
/run-sqllogic-test |
/merge |
Your auto merge job has been accepted, waiting for 15955, 15860, 15868, 15907, 15956 |
/run-all-tests |
@lzmhhh123 merge failed. |
/run-check_dev_2 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.0 in PR #15967 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.1 in PR #15968 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-4.0 in PR #15969 |
What problem does this PR solve?
Issue Number: close #15752
Problem Summary: in the fast sample, we use the wrong column info to build index value. When we only analyze indexes, the analyzing column infos is nil. Then we should use table info's columns to build index value.
What is changed and how it works?
What's Changed: change
colInfos
totblInfo.Columns
Related changes
Check List
Tests