polars seems incompatible with long callbacks
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
Describe your context
dash app with python 3.11.4 deployed on AWS EC2 instance
dash[diskcache] 2.11.1
polars 0.18.11
Describe the bug
When running long callbacks in dash with polars, they run infinitely & don't get collected - I imagine it's something to do with polars parallelism & multithreading? don't run into these issues with pandas
Expected behavior
Callback to run
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the long-callback behavior using the reported Python 3.11.4, Dash 2.11.1, Polars 0.18.11, and diskcache setup on AWS EC2, then compare it with pandas. Trace whether the callback completes and whether its result is collected; done means the Polars callback finishes and is collected like the pandas version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100