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

ARROW-12984: [C++][Compute] Passing options parameter of Count/Index aggregation by reference #10459

Closed
wants to merge 2 commits into from

Conversation

Crystrix
Copy link
Contributor

@Crystrix Crystrix commented Jun 6, 2021

The options parameter of Count function is passed by value, it's better to be passed by reference like other aggregation functions.

@github-actions
Copy link

github-actions bot commented Jun 6, 2021

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on JIRA? https://issues.apache.org/jira/browse/ARROW

Opening JIRAs ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename pull request title in the following format?

ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

See also:

@Crystrix Crystrix changed the title [C++][Compute] Passing options parameter of Count aggregation by reference ARROW-12984: [C++][Compute] Passing options parameter of Count aggregation by reference Jun 6, 2021
@github-actions
Copy link

github-actions bot commented Jun 6, 2021

@cyb70289
Copy link
Contributor

cyb70289 commented Jun 7, 2021

@Crystrix
Copy link
Contributor Author

Crystrix commented Jun 7, 2021

@cyb70289 Sure, Index function has also been updated.

@Crystrix Crystrix changed the title ARROW-12984: [C++][Compute] Passing options parameter of Count aggregation by reference ARROW-12984: [C++][Compute] Passing options parameter of Count/Index aggregation by reference Jun 7, 2021
@cyb70289 cyb70289 closed this in 3e3ab3b Jun 7, 2021
michalursa pushed a commit to michalursa/arrow that referenced this pull request Jun 13, 2021
…aggregation by reference

The options parameter of `Count` function is passed by value, it's better to be passed by reference like other aggregation functions.

Closes apache#10459 from Crystrix/arrow-12984

Authored-by: crystrix <chenxi.li@live.com>
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants