Fix NonMatchingSplitsSizesError/ExpectedMoreSplits when passing data_dir/data_files in no-code Hub datasets#6925
Merged
albertvillanova merged 2 commits intomainfrom May 31, 2024
Merged
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Member
Author
|
Do you think this is worth making a patch release for? |
lhoestq
approved these changes
May 31, 2024
Member
Author
|
I will add some regression tests before merging. And I will make a patch release afterwards. |
Show benchmarksPyArrow==8.0.0 Show updated benchmarks!Benchmark: benchmark_array_xd.json
Benchmark: benchmark_getitem_100B.json
Benchmark: benchmark_indices_mapping.json
Benchmark: benchmark_iterating.json
Benchmark: benchmark_map_filter.json
Show updated benchmarks!Benchmark: benchmark_array_xd.json
Benchmark: benchmark_getitem_100B.json
Benchmark: benchmark_indices_mapping.json
Benchmark: benchmark_iterating.json
Benchmark: benchmark_map_filter.json
|
albertvillanova
added a commit
that referenced
this pull request
Jun 3, 2024
…asets when passing data_dir/data_files (#6925) * Do not use exported dataset infos in some cases * Add regression tests
albertvillanova
added a commit
that referenced
this pull request
Jun 3, 2024
…asets when passing data_dir/data_files (#6925) * Do not use exported dataset infos in some cases * Add regression tests
Contributor
|
I'm hitting this error now, using Spaces. Here's what an attempt to just get the 'validation' split is doing: code: log: |
Member
|
Hi Meg ! Thanks for reporting, I'll see how I can fix this. In the meantime feel free to pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix
NonMatchingSplitsSizesErrororExpectedMoreSplitserror for no-code Hub datasets if the user passes:data_dirdata_filesThe proposed solution is to avoid using exported dataset info (from Parquet exports) in these cases.
Additionally, also if the user passes
revisionother than "main" (so that no network requests are made).This PR fixes a bug introduced by:
Fix #6918, fix #6939.