Mike Seddon created ARROW-11687:
-----------------------------------

             Summary: [Rust][DataFusion] RepartitionExec Hanging
                 Key: ARROW-11687
                 URL: https://issues.apache.org/jira/browse/ARROW-11687
             Project: Apache Arrow
          Issue Type: Bug
            Reporter: Mike Seddon
            Assignee: Mike Seddon


Found an interesting defect where the final partition of the 
`RepartitionExec::execute` thread spawner was consistently not being spawned 
via `tokio::spawn`. This meant that `RepartitionStream::poll_next` was sitting 
waiting forever for data that never arrived.

It looks like a race condition where the `JoinHandle` was not being `await`ed 
and something strange going on with the internals of tokio like lazy evaluation?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to