-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: Refactor spiller to have better abstraction #11656
Conversation
✅ Deploy Preview for meta-velox canceled.
|
731e76d
to
dda16b6
Compare
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.
@tanjialiang LGTM % minors. Thanks!
std::vector<SpillRun> spillRuns_; | ||
|
||
private: | ||
std::unique_ptr<SpillStatus> writeSpill(int32_t 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.
Can you keep the original comment?
dda16b6
to
47a42ce
Compare
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.
@tanjialiang thanks for the update % minors.
47a42ce
to
27e7817
Compare
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.
@tanjialiang good job. Thanks for the refactor!
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
a7cb54f
to
b0101b1
Compare
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
b0101b1
to
ec4dad9
Compare
@tanjialiang has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…tor#11656) Summary: Spiller is a single class dealing with multiple different spilling scenarios. We want to abstract out Spiller and make its implementations closer to its use sites and expose different use case APIs. Reviewed By: xiaoxmeng Differential Revision: D67666563 Pulled By: tanjialiang
ec4dad9
to
dfd45b5
Compare
This pull request was exported from Phabricator. Differential Revision: D67666563 |
@tanjialiang merged this pull request in f973c65. |
…tor#11656) Summary: Spiller is a single class dealing with multiple different spilling scenarios. We want to abstract out Spiller and make its implementations closer to its use sites and expose different use case APIs. Pull Request resolved: facebookincubator#11656 Reviewed By: xiaoxmeng Differential Revision: D67666563 Pulled By: tanjialiang fbshipit-source-id: 66c5cfc307e248f00c1ad871409023f05d0da4d0
Spiller is a single class dealing with multiple different spilling scenarios. We want to abstract out Spiller and make its implementations closer to its use sites and expose different use case APIs.