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

pass ExecCtx and result by reference to apply() #2376

Closed

Conversation

laithsakka
Copy link
Contributor

Summary:
instead of passing pointer to VectorPtr and pointer to context
the change pass those by ref, since they should never be passed as null.

For the same reason, the diff also make the result vector argument of ensureWritable a reference instead of a pointer to pointer and also
construction arguments of LocalDecodedVectors

Differential Revision: D38968157

@netlify
Copy link

netlify bot commented Aug 24, 2022

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 42572fb
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/6317af8c898bd50008038359

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Aug 24, 2022
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Aug 24, 2022
Summary:
Pull Request resolved: facebookincubator#2376

instead of passing pointer to VectorPtr and pointer to context
the change pass those by ref, since they should never be passed as null.

For the same reason, the diff also make the result vector argument of ensureWritable a reference instead of a pointer to pointer and also
construction arguments of LocalDecodedVectors

Differential Revision: D38968157

fbshipit-source-id: 10d977abd751a77a56ce8bef7bf3a4a6a4de9ac5
@facebook-github-bot
Copy link
Contributor

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

laithsakka added a commit to laithsakka/velox that referenced this pull request Aug 25, 2022
Summary:
Pull Request resolved: facebookincubator#2376

instead of passing pointer to VectorPtr and pointer to context
the change pass those by ref, since they should never be passed as null.

For the same reason, the diff also make the result vector argument of ensureWritable a reference instead of a pointer to pointer and also
construction arguments of LocalDecodedVectors

Differential Revision: D38968157

fbshipit-source-id: 1a98172185d6dc856127a285165dbe85c2056be1
Summary:
Pull Request resolved: facebookincubator#2376

instead of passing a pointer to VectorPtr and a pointer to the context
the change passes those by ref since they should never be passed as null.

For the same reason, the diff also makes the result vector argument of ensureWritable a reference instead of a pointer to pointer and also
constructor arguments of LocalDecodedVectors.

Reviewed By: kagamiori

Differential Revision: D38968157

fbshipit-source-id: 02a9c3d7699090aef8e572af6ca1173086b4e860
@facebook-github-bot
Copy link
Contributor

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants