-
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
infoschema: handle partition table for tables
#12591
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12591 +/- ##
===========================================
Coverage 79.9119% 79.9119%
===========================================
Files 460 460
Lines 104042 104042
===========================================
Hits 83142 83142
Misses 14811 14811
Partials 6089 6089 |
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.0 failed |
cherry pick to release-3.1 failed |
What problem does this PR solve?
When build fields lile
data_length
forinformation_schema.tables
, we need to handle partition tables, because every partition would have their own stats.What is changed and how it works?
Sum up each partition's info to build data length fields for table.
Check List
Tests
Code changes
Side effects
Related changes
Release note
information_schema.tables