Repository navigation
fix(plan): preserve pagination across LIMIT optimizations - #25587
Merged
Merged
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? |
XuPeng-SH
force-pushed
the
optimize_limit
branch
from
July 10, 2026 22:56
4207525 to
f609d67
Compare
gouhongshen
requested changes
Jul 11, 2026
gouhongshen
left a comment
Contributor
There was a problem hiding this comment.
这组修改修复了主索引分页,但当前还不能合入:包含未说明的 CODEOWNERS 所有权转移,并且仍有极值分页与向量重写的语义缺口。请处理以下行级问题后再请求 review。
ghost
approved these changes
Jul 11, 2026
gouhongshen
approved these changes
Jul 11, 2026
gouhongshen
left a comment
Contributor
There was a problem hiding this comment.
Re-review complete. The overflow boundary, vector pagination ownership, and direct-projection regular-index pushdown issues are fixed with targeted regression coverage. Approved.
fengttt
reviewed
Jul 11, 2026
|
|
||
| if sortNode != nil { | ||
| sortNode.Children[0] = idxID | ||
| sortNode.Limit = DeepCopyExpr(paginationLimit) |
Contributor
There was a problem hiding this comment.
All these deepcopy, nobody cares why
fengttt
approved these changes
Jul 11, 2026
fengttt
approved these changes
Jul 11, 2026
1 task done
1 task done
1 of 7 tasks
This was referenced Aug 9, 2026
This branch was previously deployed
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.
What type of PR is this?
Which issue(s) this PR fixes:
Fixes #25586
What this PR does / why we need it:
This PR makes LIMIT/OFFSET ownership explicit across planner rewrites and ensures that internal candidate pruning never replaces user-visible pagination.
CODEOWNERS update
The
CODEOWNERSchanges are intentional and are part of the requested maintainer ownership update; they are not generated files or incidental churn from the LIMIT work.@ouyuanningto@XuPeng-SH, while existing co-owners remain unchanged.pSpoolandtestutilremove the former owner while retaining their other current owners.multi_updateis assigned to@XuPeng.@volgariver6to@XuPeng-SH, while@gouhongshenremains a co-owner.Keeping these entries in this PR makes GitHub review routing and future maintenance responsibility match the intended ownership immediately after merge.
Multi-angle review
Validation
go vetpasses for all changed packages;make buildpasses after rebasing onto current main;GPU search implementations use shared, CPU-tested LIMIT bounds. GPU runtime validation was not available because the local NVIDIA driver and cuVS libraries are unavailable.