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

feat: define IVFShuffler trait #2376

Closed

Conversation

[ghstack-poisoned]
[ghstack-poisoned]
@codecov-commenter
Copy link

codecov-commenter commented May 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (gh/chebbyChefNEQ/1/base@df72bbc). Learn more about missing BASE report.

Additional details and impacted files
@@                    Coverage Diff                     @@
##             gh/chebbyChefNEQ/1/base    #2376   +/-   ##
==========================================================
  Coverage                           ?   80.06%           
==========================================================
  Files                              ?      199           
  Lines                              ?    54469           
  Branches                           ?    54469           
==========================================================
  Hits                               ?    43613           
  Misses                             ?     8341           
  Partials                           ?     2515           
Flag Coverage Δ
unittests 80.06% <ø> (?)

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.

pub trait IvfShuffler {
/// Shuffle the incoming stream of record batches into IVF partitions.
/// Returns a IvfShuffleReader that can be used to read the shuffled partitions.
async fn shuffle(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once this function is finished, do we expect that all shuffles are done? Or do we expect Shuffles are in flight, so that IvfShufflerReader might return partial results in read_partition()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once this function finishes, all shuffle should have been completed

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants