-
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
stats: fix panic when fast analyze on empty table #13284
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13284 +/- ##
===========================================
Coverage 80.2086% 80.2086%
===========================================
Files 469 469
Lines 111842 111842
===========================================
Hits 89707 89707
Misses 15231 15231
Partials 6904 6904 |
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
/run-all-tests |
cherry pick to release-3.1 failed |
cherry pick to release-3.0 failed |
What problem does this PR solve?
Fast analyze would panic when analyze on empty table.
What is changed and how it works?
Specially check if the result samples are empty.
Check List
Tests
Code changes
Side effects
Related changes
Release note