-
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
planner: fix intersection type mv index's filters mutations composition (#50379) #50396
planner: fix intersection type mv index's filters mutations composition (#50379) #50396
Conversation
Signed-off-by: AilinKid <[email protected]>
[LGTM Timeline notifier]Timeline:
|
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.
/retest
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release-7.6 #50396 +/- ##
================================================
Coverage ? 70.0434%
================================================
Files ? 1436
Lines ? 419484
Branches ? 0
================================================
Hits ? 293821
Misses ? 105388
Partials ? 20275
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
+1
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AilinKid, fixdb, hawkingrei The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
This is an automated cherry-pick of #50379
What problem does this PR solve?
Issue Number: close #50380
Problem Summary:
What changed and how does it work?
fix the AND mv index filter mutations generating logic.
SELECT * FROM t WHERE 15975127 member of (domains) AND 15975128 member of (domains) AND a = 1 AND b = 2
for mv index mvi(a, domains, b)
the accessFilters should be
[a = 1, ?, b = 1]
, here ? is pos occupation here stands for set{15975127 member of (domains), 15975128 member of (domains)}
when building index partial path, we have two mutation here
a=1 and 15975127 member of (domains) and b=2
a=1 and 15975128 member of (domains) and b=2
the generation mistake detail can ref the issue
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.