-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add initial support for sorted writer #6142
Conversation
✅ Deploy Preview for meta-velox canceled.
|
249d6b8
to
038db1a
Compare
7f1a8e3
to
0a52154
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.
@kewang1024 overall looks good. Thanks!
5fe8d2a
to
b3ce287
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.
@kewang1024 LGTM % minors.
b3ce287
to
49262cf
Compare
@kewang1024 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
21b0a52
to
352c539
Compare
@kewang1024 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
352c539
to
3ec8a60
Compare
@kewang1024 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
velox/dwio/common/SortingWriter.h
Outdated
|
||
virtual void abort() override; | ||
|
||
std::unique_ptr<exec::SortBuffer> sortBuffer_; |
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.
const std::unique_ptr<exec::SortBuffer> sortBuffer_;
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.
We need to call reset on sortBuffer_ in abort
function, so can't set it to const
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.
I see. Then move outputWriter_ ahead of sortBuffer_ as the former is a const member. Thanks!
23d2910
to
0934e14
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.
@kewang1024 Thanks for iterating!
velox/dwio/common/SortingWriter.h
Outdated
|
||
virtual void abort() override; | ||
|
||
std::unique_ptr<exec::SortBuffer> sortBuffer_; |
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.
I see. Then move outputWriter_ ahead of sortBuffer_ as the former is a const member. Thanks!
0934e14
to
6e31151
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.
@kewang1024 can you squash the commits into one? Thanks!
This pull request was exported from Phabricator. Differential Revision: D49103233 |
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024
d2c33de
to
58d7355
Compare
This pull request was exported from Phabricator. Differential Revision: D49103233 |
58d7355
to
377a97f
Compare
@kewang1024 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
377a97f
to
1e546d3
Compare
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024
This pull request was exported from Phabricator. Differential Revision: D49103233 |
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024
1e546d3
to
caff52a
Compare
This pull request was exported from Phabricator. Differential Revision: D49103233 |
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024
caff52a
to
f866a8d
Compare
This pull request was exported from Phabricator. Differential Revision: D49103233 |
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024
f866a8d
to
cd5580e
Compare
This pull request was exported from Phabricator. Differential Revision: D49103233 |
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024
cd5580e
to
bb645c4
Compare
This pull request was exported from Phabricator. Differential Revision: D49103233 |
@kewang1024 merged this pull request in f6895df. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024 fbshipit-source-id: d10f3cc45d531315855a870c31db1cb3b90d20f6
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024 fbshipit-source-id: d10f3cc45d531315855a870c31db1cb3b90d20f6
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024 fbshipit-source-id: d10f3cc45d531315855a870c31db1cb3b90d20f6
Summary: Pull Request resolved: facebookincubator#6142 Reviewed By: xiaoxmeng Differential Revision: D49103233 Pulled By: kewang1024 fbshipit-source-id: d10f3cc45d531315855a870c31db1cb3b90d20f6
No description provided.