Skip to content

Make return type void during aggregate registration.#7864

Closed
amitkdutta wants to merge 1 commit intofacebookincubator:mainfrom
amitkdutta:export-D51593723
Closed

Make return type void during aggregate registration.#7864
amitkdutta wants to merge 1 commit intofacebookincubator:mainfrom
amitkdutta:export-D51593723

Conversation

@amitkdutta
Copy link
Copy Markdown
Contributor

Summary: Aggregate function registration does not utilize return type. Some registrations are done with void and some are done with return type - where return type is unused. Making all of them void, similar to what is done in #7689

Differential Revision: D51593723

@netlify
Copy link
Copy Markdown

netlify bot commented Dec 4, 2023

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 7aa87d7
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/656e26bbb0942f0008952d68

@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 Dec 4, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

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

@amitkdutta Looks good to me, but would be nice to ask @kagamiori to take a look as well.

@kagamiori
Copy link
Copy Markdown
Contributor

Hi @amitkdutta, I think a previous PR intentionally make all aggregation registration functions return exec::AggregateRegistrationResult (#7133). Is there a reason why you'd like them to all return void instead?

…or#7864)

Summary:

Aggregate function registration does not utilize return type. Some registrations are done with void and some are done with return type - where return type is unused. Making all of them void, similar to what is done in  facebookincubator#7689

Reviewed By: mbasmanova

Differential Revision: D51593723
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@amitkdutta
Copy link
Copy Markdown
Contributor Author

Hi @amitkdutta, I think a previous PR intentionally make all aggregation registration functions return exec::AggregateRegistrationResult (#7133). Is there a reason why you'd like them to all return void instead?

@kagamiori The return type is unused - hence making it void. Also a suggestion in #7689 (comment)

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in c0fadb9.

@conbench-facebook
Copy link
Copy Markdown

Conbench analyzed the 1 benchmark run on commit c0fadb91.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

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.

4 participants