-
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
Use BufferPtr for HashProbe::outputTableRows_ #10864
Conversation
✅ Deploy Preview for meta-velox canceled.
|
This pull request was exported from Phabricator. Differential Revision: D61875530 |
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.
@Yuhta LGTM. Thanks!
velox/exec/HashProbe.cpp
Outdated
for (auto i = 0; i < size; ++i) { | ||
if (nullAware_) { | ||
// Null-aware join may produce TRUE, FALSE or NULL. | ||
if (filter_) { | ||
if (leftSemiProjectIsNull_.isValid(i)) { | ||
flatMatch->setNull(i, true); | ||
} else { | ||
bool hasMatch = outputTableRows_[i] != nullptr; | ||
bool hasMatch = outputTableRows[i] != nullptr; |
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.
nit: NYC: const bool hasMatch
dittos? Thanks!
This pull request was exported from Phabricator. Differential Revision: D61875530 |
Summary: Pull Request resolved: facebookincubator#10864 Follow up on facebookincubator#10832 (comment). Use `BufferPtr` so that the memory is counted in operator memory pool. Reviewed By: xiaoxmeng Differential Revision: D61875530
f4f64af
to
a173cf8
Compare
Summary: Pull Request resolved: facebookincubator#10864 Follow up on facebookincubator#10832 (comment). Use `BufferPtr` so that the memory is counted in operator memory pool. Reviewed By: xiaoxmeng Differential Revision: D61875530
a173cf8
to
2e34f19
Compare
This pull request was exported from Phabricator. Differential Revision: D61875530 |
This pull request has been merged in 3d294e3. |
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#10864 Follow up on facebookincubator#10832 (comment). Use `BufferPtr` so that the memory is counted in operator memory pool. Reviewed By: xiaoxmeng Differential Revision: D61875530 fbshipit-source-id: ed51b6c4a2579d91f2821b45273851c08169bb7c
Summary: Pull Request resolved: facebookincubator#10864 Follow up on facebookincubator#10832 (comment). Use `BufferPtr` so that the memory is counted in operator memory pool. Reviewed By: xiaoxmeng Differential Revision: D61875530 fbshipit-source-id: ed51b6c4a2579d91f2821b45273851c08169bb7c
Summary:
Follow up on
#10832 (comment).
Use
BufferPtr
so that the memory is counted in operator memory pool.Differential Revision: D61875530