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

Use BufferPtr for HashProbe::outputTableRows_ #10864

Closed
wants to merge 1 commit into from

Conversation

Yuhta
Copy link
Contributor

@Yuhta Yuhta commented Aug 27, 2024

Summary:
Follow up on
#10832 (comment).
Use BufferPtr so that the memory is counted in operator memory pool.

Differential Revision: D61875530

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 27, 2024
Copy link

netlify bot commented Aug 27, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 2e34f19
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66cf3d27c6dbbf00085495ce

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61875530

Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@Yuhta LGTM. Thanks!

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;
Copy link
Contributor

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!

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61875530

Yuhta added a commit to Yuhta/velox that referenced this pull request Aug 28, 2024
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
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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61875530

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3d294e3.

Copy link

Conbench analyzed the 1 benchmark run on commit 3d294e3c.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Sep 2, 2024
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
Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Sep 3, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants