-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cache backward compatibility with 2.15.0 #6514
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. |
it's hard to tell if this works as expected without a test but i guess it's not trivial to implement such a test. i tried to reproduce locally (with this branch merged into the lazy-resolve-and-cache-reload) and it didn't work.
and i got this in the cache:
so the first hash (the top-level dir v2-374bfde4f55442bc) matches but the second (after version) doesn't. also i'm not sure if this is worth too much effort, maybe nobody notices if their datasets will be generated again :D idk |
I just pushed a fix, it should work just fine now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that worked!
just in builder.py:1288 _has_legacy_cache()
method should also be renamed,
self._has_legacy_cache()
-> self._check_legacy_cache()
i guess
7187ad7
to
b0c40db
Compare
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
|
...for datasets without scripts
It takes into account the changes in cache from
config/version/commit_sha
schemadill
logic #6454: fixDataFilesDict
keys ordering when hashingrequires #6493 to be merged