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

Limit doesn't drop on first batch when limit size == fetch size. #5064

Closed
Dandandan opened this issue Jan 25, 2023 · 0 comments · Fixed by #5066
Closed

Limit doesn't drop on first batch when limit size == fetch size. #5064

Dandandan opened this issue Jan 25, 2023 · 0 comments · Fixed by #5066
Labels
bug Something isn't working

Comments

@Dandandan
Copy link
Contributor

Describe the bug
In the When batch size equals the fetch size, datafusion doesn't drop the input.
It will poll for another batch from the input rather than dropping immediately.

To Reproduce

Expected behavior
It should drop the input directly instead of polling for a second.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant