-
Notifications
You must be signed in to change notification settings - Fork 93
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
Fix storage dependencies #421
Conversation
Deploying datachain-documentation with Cloudflare Pages
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #421 +/- ##
=======================================
Coverage 87.51% 87.51%
=======================================
Files 93 93
Lines 9981 9981
Branches 2060 2060
=======================================
Hits 8735 8735
Misses 885 885
Partials 361 361
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
👍
src/datachain/dataset.py
Outdated
dependency_name = listing_uri_from_name(dataset_name) | ||
client, _ = Client.parse_url( | ||
listing_uri_from_name(dataset_name), | ||
None, # type: ignore[arg-type] |
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.
Can we fix this instead of ignoring?
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.
Yes, this is on my plate for long time. I will see if it makes sense to do it in separate PR or this one
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.
Fix in separate PR #435
Making sure we have only name of the bucket in storage dependencies, instead of bucket name + path.
Issue was starting to appear when we moved listing to app level with
DataChain.from_storage()
Example:
This script generates storage dependency with name
s3://ldb-public
and before these changes it was generatings3://ldb-public/remote/data-lakes/