Skip to content

feat: cross-shard OFFSET#774

Merged
levkk merged 7 commits intomainfrom
levkk-offset
Feb 18, 2026
Merged

feat: cross-shard OFFSET#774
levkk merged 7 commits intomainfrom
levkk-offset

Conversation

@levkk
Copy link
Collaborator

@levkk levkk commented Feb 18, 2026

Adds support for LIMIT x OFFSET y for cross-shard queries. This rewrites the statement to LIMIT x + y and applies the offset to the result in-memory.

Follow up on #757

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

❌ Patch coverage is 95.89744% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...frontend/router/parser/rewrite/statement/offset.rs 94.47% 18 Missing ⚠️
...rontend/client/query_engine/test/rewrite_offset.rs 96.95% 5 Missing ⚠️
pgdog/src/net/messages/bind.rs 94.11% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@levkk levkk merged commit 047e941 into main Feb 18, 2026
8 checks passed
@levkk levkk deleted the levkk-offset branch February 18, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments