You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/09 10:34:00 UTC
[jira] [Resolved] (ARROW-12254) [Rust][DataFusion] Limit keeps
polling input after limit is reached
[ https://issues.apache.org/jira/browse/ARROW-12254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lamb resolved ARROW-12254.
---------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 9926
[https://github.com/apache/arrow/pull/9926]
> [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
> Components: Rust - DataFusion
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> 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)