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

Separate io_func from ReadParquet._plan for better caching #367

Merged
merged 5 commits into from
Oct 27, 2023

Conversation

rjzamora
Copy link
Member

Right now, column projection will invalidate our ReadParquet._plan cache. There is no reason for this to happen, because the column projection does not actually affect the partitioning plan (it only affects the arguments to ParquetFunctionWrapper).

This PR separates the ParquetFunctionWrapper (used as the io_func) from ReadParquet._plan.

This change is partially related to #365

Copy link
Collaborator

@phofl phofl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one small comment, otherwise lgtm

@phofl phofl merged commit 810995a into dask:main Oct 27, 2023
@phofl
Copy link
Collaborator

phofl commented Oct 27, 2023

Thx

@rjzamora rjzamora deleted the separate-io-func branch October 30, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants