Repository navigation
fix(plan): rewrite fulltext match in IN subqueries - #26965
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
aunjgr
left a comment
There was a problem hiding this comment.
Reviewed exact head c3c40c8 with all checks terminal and green. The SEMI-join extension is confined to the same child-local fulltext predicate substitution already used for INNER joins; it preserves the left row set, keeps OUTER/ANTI joins excluded, and the public IN-subquery regression verifies both index selection and rows. The index-plugin boundary checks found no new SQL-layer algorithm dispatch or registration regression. LGTM.
XuPeng-SH
left a comment
There was a problem hiding this comment.
Reviewed exact head c3c40c8.
The change extends the existing child-local fulltext predicate rewrite from INNER to SEMI joins, which is the plan shape produced by IN subqueries. The rewritten child preserves the same filtered row set; SEMI existence semantics make right-side duplicates immaterial, while LEFT/RIGHT/ANTI/MARK paths remain excluded. The public regression validates both fulltext index selection and result rows, the focused test and complete pkg/sql/plan package pass locally, and the index-plugin boundary checks found no new dispatch, import-cycle, registration, or assertion regression. LGTM.
Merge Queue Status
This pull request spent 33 minutes 31 seconds in the queue, with no time running CI. Waiting for
All conditions
ReasonPull request #26965 has been dequeued Pull request from fork cannot be queued. This pull request comes from a fork, and Mergify needs the author's permission to update its branch.
Failing checks:
HintYou should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. Tick the box to put this pull request back in the merge queue (same as
|
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#25891 ## What this PR does / why we need it: fix(plan): rewrite fulltext match in IN subqueries Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#25891 ## What this PR does / why we need it: fix(plan): rewrite fulltext match in IN subqueries Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
## What type of PR is this? - [ ] API-change - [ ] BUG - [ ] Improvement - [ ] Documentation - [ ] Feature - [ ] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#25891 ## What this PR does / why we need it: fix(plan): rewrite fulltext match in IN subqueries Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
What type of PR is this?
Which issue(s) this PR fixes:
issue #25891
What this PR does / why we need it:
fix(plan): rewrite fulltext match in IN subqueries