Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of imbalanced or small partitions #869

Open
hendrikmakait opened this issue Feb 13, 2024 · 3 comments
Open

Improve handling of imbalanced or small partitions #869

hendrikmakait opened this issue Feb 13, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@hendrikmakait
Copy link
Member

At the moment, dask-expr struggles to deal with imbalanced (coiled/benchmarks#1367 (comment)) or very small (coiled/benchmarks#1381) partitions. We should improve this which likely requires overhauling the Parquet reading to collect better statistics.

@mrocklin
Copy link
Member

If the path is a directory then it might be faster to ask the filesystem (POSIX or object store) for the size of a directory. That might be faster and more scalable.

@phofl
Copy link
Collaborator

phofl commented Feb 13, 2024

Yep this should cover us for a lot of tiny files

@fjetter
Copy link
Member

fjetter commented Feb 13, 2024

We have to perform a list operation on all stores right now unless a metadata files is provided. This list operation includes file sizes even without accessing parquet metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants