ddl,tables: only write the index when it meets partial index condition (#62762)#65700
Merged
ti-chi-bot[bot] merged 8 commits intoJan 29, 2026
Conversation
This was referenced Jan 21, 2026
cacc741 to
0bde887
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.5-20260116-v8.5.5 #65700 +/- ##
================================================================
Coverage ? 73.1767%
================================================================
Files ? 1684
Lines ? 470233
Branches ? 0
================================================================
Hits ? 344101
Misses ? 103227
Partials ? 22905
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
a57b76d to
0acba00
Compare
9f03e4d to
18469a8
Compare
winoros
previously approved these changes
Jan 22, 2026
18469a8 to
d16fc20
Compare
3326ab0 to
6f3324e
Compare
[LGTM Timeline notifier]Timeline:
|
525c09e to
a09092b
Compare
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
a09092b to
a7a283a
Compare
wjhuang2016
previously approved these changes
Jan 28, 2026
winoros
previously approved these changes
Jan 28, 2026
Leavrth
previously approved these changes
Jan 28, 2026
yudongusa
approved these changes
Jan 28, 2026
tangenta
previously approved these changes
Jan 29, 2026
b6079e8
wjhuang2016
approved these changes
Jan 29, 2026
tangenta
approved these changes
Jan 29, 2026
Leavrth
approved these changes
Jan 29, 2026
winoros
approved these changes
Jan 29, 2026
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Leavrth, tangenta, winoros, wjhuang2016, yudongusa The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
db87a51
into
pingcap:release-8.5-20260116-v8.5.5
20 checks passed
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a cherry-pick for partial index and some related bug fixes:
What problem does this PR solve?
Issue Number: close #62761
Problem Summary:
What changed and how does it work?
tables.indexto parse/store the expression ofpartialConditionExpression.MeetPartialConditionto check whether it'll meet the condition.admin show ddl jobfrom the added count to the scanned count.admin check tablefor partial index.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.