-
Notifications
You must be signed in to change notification settings - Fork 8
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
Enable Caching and Docs Update #121
Conversation
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.
Thanks, I think this already looks good! I've left some minor remarks.
Also, since these are breaking changes regarding the StoreDriver
and some low-level changes in how fsspec options are handled, I think @AlirezaSohofi should have a quick look as well and give his approval.
This is PR is marked as stale as it has been inactive for 30 days. It will be closed in 7 days. |
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.
Thanks Alex, looks great! I left some comments here.
Hi folks, thanks for your reviews. I addressed all your comments and just pushed the code, please have another look and maybe reply to my comments if you feel there's anything to discuss. We need some final review from @AlirezaSohofi mainly to check out the minor lower-level change of how the storage options are passed down in |
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.
Thanks for the update! WIth one or two minor modifications, LGTM! Thanks for pushing this over the line @axkoenig 🙌
@AlirezaSohofi the branch trigger above fails because of |
Can you re-base to main please? |
c2d7690
to
55f30cd
Compare
Hi there, this is ready for final review @AlirezaSohofi . I implemented a test for MessagepackDriver too and rebased to main, all checks are green |
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.
LGTM, Thanks so much 👍
Left a minor comment. Please don't forget to update the version.
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.
Thanks @axkoenig 👍
Description
This is a follow up for our PRs #113 and PRs #95.
Since fsspec comes with an advanced caching functionality, we do not need to have a
CacheStore
for ourStoreDriver
. Rather we should use the powerful API provided by fsspec, which ensures a unified caching mechanism across all of our drivers.The PR
protocol
can be set throughstorage_options
storage_options
can be updated viaCatalogSource.get_driver()
. The default behavior was that any newly providedstorage_options
inget_driver
would entirely overwrite the existingstorage_options
of theCatalogSource
, which leads to a loss of potentially important configs of the person who gave you the catalog (e.g. some bucket configs likerequester_pays
should not be overwritten!).Attached is a rendered and updated version of the docs.
Caching — Squirrel documentation.pdf
Type of change
Checklist: