-
Notifications
You must be signed in to change notification settings - Fork 6.1k
*: add MV systables + MV/MLOG DDL metadata (scheme2) #65936
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
base: feature/materialized_view
Are you sure you want to change the base?
*: add MV systables + MV/MLOG DDL metadata (scheme2) #65936
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feature/materialized_view #65936 +/- ##
==============================================================
Coverage ? 36.4008%
==============================================================
Files ? 1703
Lines ? 625452
Branches ? 0
==============================================================
Hits ? 227670
Misses ? 375086
Partials ? 22696
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
68fb542 to
b2f3537
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@wjhuang2016: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: close #0
Problem Summary:
What changed and how does it work?
mysql.tidb_mviews,mysql.tidb_mlogsmysql.tidb_mview_refresh_hist,mysql.tidb_mlog_purge_hist(job id isBIGINT AUTO_INCREMENT, exposed as varchar in information_schema)mysql.tidb_mlog_job(scheme2 coordination table, schema-only for now)information_schema:information_schema.tidb_mviews,information_schema.tidb_mlogsinformation_schema.tidb_mview_refresh_hist,information_schema.tidb_mlog_purge_histtidb_mview_refresh_hist_time,tidb_mlog_purge_hist_timeCREATE/ALTER/DROP MATERIALIZED VIEWCREATE/ALTER/DROP MATERIALIZED VIEW LOGREFRESH MATERIALIZED VIEW [WITH SYNC MODE](parse + DDL entry; execution is still unsupported in this PR)mysql.tidb_mviews/mysql.tidb_mlogsDROP TABLE: base table cannot be dropped if its MLOG exists (must drop MLOG first)NEXT=5min(stored asREFRESH_MODE=START WITH NOW() NEXT 300when omitted;MVIEW_DEFINITIONkeeps the original user statement)Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.