Streamz/Dask: gather does not wait for all results of buffer

Open
#449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start with the documented Streamz/Dask usage involving buffer and compare it with the linked Stack Overflow report. Reproduce the early return and trace the gather/buffer entry point; done means the operation waits for every buffered Dask result, including the final one.

Written by the indexing model from the issue text.

Description

Hi Streamz team. I was following the docs to use streamz with dask and facing the issue that dask returns before all the results are calculated, when used with buffer. There is a stackoverflow question regarding this as well - https://stackoverflow.com/questions/60032474/streamz-dask-gather-does-not-wait-for-all-results-of-buffer

Wondering if this is there a fix as this is not usable is it doesn't wait for the last piece to come back.

Dominant language
Python
Stars
1.3k
Forks
149
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-streamz/streamz

All issues in python-streamz/streamz

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.