Andrew Lamb created ARROW-12254:
-----------------------------------
Summary: [Rust][DataFusion] Limit keeps polling input after limit
is reached
Key: ARROW-12254
URL: https://issues.apache.org/jira/browse/ARROW-12254
Project: Apache Arrow
Issue Type: Bug
Reporter: Andrew Lamb
Assignee: Andrew Lamb
Once the number of rows needed for a limit query has been produced, any further
work done to read values from its input is wasted.
The current implementation of LimitStream will keep polling its input for the
next value, and returning Poll::Ready(None) , even once the limit has been
reached
This is wasteful
--
This message was sent by Atlassian Jira
(v8.3.4#803005)