Skip to content
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

Refactor pulling dataset rows #617

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ilongin
Copy link
Contributor

@ilongin ilongin commented Nov 23, 2024

As we are chainging the way we export files to s3 in https://github.com/iterative/studio/pull/10966, we needed to adjust CLI code as well to have better performance.
Now we are exporting chunks to s3 "in order", which means chunks with lower index will be there first so we can use that to make sure we are fetching those chunks with lower indexes first to avoid idling until chunks are ready.

@ilongin ilongin linked an issue Nov 23, 2024 that may be closed by this pull request
@ilongin ilongin marked this pull request as draft November 23, 2024 00:45
Copy link

codecov bot commented Nov 23, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 87.64%. Comparing base (224f8a6) to head (172245a).

Files with missing lines Patch % Lines
src/datachain/catalog/catalog.py 80.00% 3 Missing and 3 partials ⚠️
src/datachain/data_storage/sqlite.py 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #617      +/-   ##
==========================================
+ Coverage   87.58%   87.64%   +0.05%     
==========================================
  Files         106      106              
  Lines       10280    10292      +12     
  Branches     1385     1387       +2     
==========================================
+ Hits         9004     9020      +16     
+ Misses        934      930       -4     
  Partials      342      342              
Flag Coverage Δ
datachain 87.58% <80.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor pulling dataset rows from Studio
1 participant