session, executor: update mview system table schema#66382
Conversation
|
Hi @windtalker. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/release-8.5-materialized-view #66382 +/- ##
==========================================================================
Coverage ? 37.0186%
==========================================================================
Files ? 1693
Lines ? 624344
Branches ? 0
==========================================================================
Hits ? 231124
Misses ? 370620
Partials ? 22600
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: wjhuang2016, xzhangxian1008 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 |
[LGTM Timeline notifier]Timeline:
|
|
/test unit-test |
|
@windtalker: PRs from untrusted users cannot be marked as trusted with DetailsIn response to this:
Instructions 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. |
d5ca612
into
pingcap:feature/release-8.5-materialized-view
What problem does this PR solve?
Issue Number: ref #18023
Problem Summary:
The MV system table schema needs small adjustments:
mysql.tidb_mview_refresh_hist.REFRESH_TIMEandREFRESH_ENDTIMEshould bedatetime(6).mysql.tidb_mlog_purge_hist.PURGE_TIMEandPURGE_ENDTIMEshould bedatetime(6).mysql.tidb_mlog_purge_infoshould includeLAST_PURGED_TSO bigint DEFAULT NULL.What changed and how does it work?
pkg/session/bootstrap.goLAST_PURGED_TSOdatetime_precision = 6on the four time columnspkg/session/bootstraptest/mview_systable_test.goinformation_schema.columnsdue one newly added system column:pkg/executor/infoschema_reader_test.goCheck List
Tests
Side effects
Documentation
Release note