You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/07 13:28:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated ARROW-12254:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)