-
Notifications
You must be signed in to change notification settings - Fork 89
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 CLI to work with DataChain
new listing
#517
Conversation
Deploying datachain-documentation with Cloudflare Pages
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #517 +/- ##
==========================================
- Coverage 87.39% 86.92% -0.48%
==========================================
Files 97 97
Lines 10197 10130 -67
Branches 1396 1383 -13
==========================================
- Hits 8912 8805 -107
- Misses 923 961 +38
- Partials 362 364 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2339227
to
8138cd5
Compare
LGTM as long as it is tested |
This PR fixes all CLI methods to work with new listing of
DataChain
by using.from_storage()
method.Before, CLI was completely detached which means if you would do
datachain index
, listing created by that command would be invisible byDataChain
lib, and vice versa.Now, those are again "one" system.
Note: that this PR removes custom TTL set for listings to expire as we from now on don't utilize
Storage
table any more where we had ability to save this. Instead, we will always use constant TTL time. If this doesn't seem enough, we can think about where to put this and maybe take into account some alternatives (maybe having some global config etc.)Followups:
Node
withFile