Skip to content
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

optimize sql statement with limit 0 #14884

Merged
merged 5 commits into from Mar 11, 2024
Merged

Conversation

badboynt1
Copy link
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue # https://github.com/matrixorigin/MO-Cloud/issues/2651

What this PR does / why we need it:

sql statement with limit 0 can return early

@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Mar 11, 2024
@mergify mergify bot merged commit 96a29d7 into matrixorigin:main Mar 11, 2024
18 checks passed
@badboynt1 badboynt1 deleted the limit branch March 11, 2024 08:44
badboynt1 added a commit to badboynt1/matrixone that referenced this pull request Mar 11, 2024
sql statement with limit 0 can return early

Approved by: @ouyuanning, @m-schen
Conflicts:
	pkg/sql/colexec/limit/limit.go
mergify bot pushed a commit that referenced this pull request Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement size/S Denotes a PR that changes [10,99] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants