Skip to content

keep top-level plan.Limit for doltgres generate_series#3449

Merged
jycor merged 2 commits intomainfrom
james/limit
Feb 25, 2026
Merged

keep top-level plan.Limit for doltgres generate_series#3449
jycor merged 2 commits intomainfrom
james/limit

Conversation

@jycor
Copy link
Copy Markdown
Contributor

@jycor jycor commented Feb 25, 2026

PR #3432 replaced plan.Limit nodes with plan.TopN, because they are unnecessary for anything in dolt and gms. However, because of the way generate_series works with LIMIT, we actually need to keep the plan.Limit at the top.

This should have minimal impact on performance

@jycor jycor merged commit 405dcc6 into main Feb 25, 2026
8 checks passed
@jycor jycor deleted the james/limit branch February 25, 2026 22:11
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.

2 participants