Skip to content

Deprecate gather_statistics from read_parquet - #8992

Merged
jcrist merged 9 commits into
dask:mainfrom
rjzamora:remove-gather-statistics
Apr 28, 2022
Merged

jcrist merged 9 commits into
dask:mainfrom
rjzamora:remove-gather-statistics

Conversation

@rjzamora

Copy link
Copy Markdown
Member

This PR deprecates gather_statistics in favor of a simpler and more-descriptive calculate_divisions argument from the public-facing read_parquet API. After this PR, users will get a FutureWarning if/when they still use the gather_statistics argument, and it will no longer be possible to pass in a gather_statistics argument that confilcts with other options that require the collection of statistics (e.g. filters and chunksize).

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks Rick! Only a few comments/questions. My PR definitely led to some merge conflicts, I'm happy to fix them here for you if you're too busy, just let me know.

Comment thread dask/dataframe/io/parquet/core.py Resolved
Comment thread dask/dataframe/io/parquet/arrow.py Resolved
Comment thread dask/dataframe/io/parquet/core.py Resolved
@rjzamora

Copy link
Copy Markdown
Member Author

Thanks Rick! Only a few comments/questions. My PR definitely led to some merge conflicts, I'm happy to fix them here for you if you're too busy, just let me know.

Thanks for the comments! Taking care of merge conflicts now :)

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Assuming tests pass this looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants