Repository navigation
Change split_row_groups default to False in read_parquet - #8981
Conversation
|
Interesting that only two tests failed when I changed the I was originally considering a temporarily file-size check like the one I proposed in dask_cudf. However, I really don't think the change is likely to affect the large majority of users with the pandas backend. I don't think it is worthwhile to do anything besides change the default and update documentation here. |
|
Thanks @rjzamora. I've fixed the merge conflict, this looks good to me. Merging! |
| @@ -897,11 +897,6 @@ def _collect_dataset_info( | |||
| # be avoided at all costs. | |||
There was a problem hiding this comment.
^ There's a doc string above commenting on the split_row_groups behavior, but that seems to have been removed here? Should that doc string still be here?
There was a problem hiding this comment.
Do you mean the comment starting on line 892, or a docstring on a method somewhere?
As discussed in #8937, there are many reasons to simplify the confusing logic around the defaults used for
split_row_groupsandgather_statistics(and their relation to_metadata) inread_parquet. The current plan is to simplify default behavior and remove any "magic switches."This PR changes the
split_row_groupsdefault toFalse(no matter the setting ofgather_statistics).The follow-up to this PR will remove
gather_statisticsin favor ofcalculate_divisions(with a consistent default ofFalse).gather_statisticsinread_parquet? #8937pre-commit run --all-filescc @jcrist