-
Notifications
You must be signed in to change notification settings - Fork 195
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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( |
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.
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()
?
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.
Once this function finishes, all shuffle should have been completed
Stack from ghstack (oldest at bottom):