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

Minor: improve GroupsAccumulator and Accumulator documentation #8963

Merged
merged 4 commits into from
Feb 4, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jan 23, 2024

Which issue does this PR close?

Part of #7013

Rationale for this change

We recently made GroupsAccumulator part of the public API in #8892 (thank you @guojidan ❤️ ). Now that it is public it would be nice to have some additional user facing documentation / rationale

What changes are included in this PR?

Update docstrings with explanation of the difference between Accumulator and GroupsAccumulator

Are these changes tested?

Existing tests

Are there any user-facing changes?

Doc only

@alamb alamb added the documentation Improvements or additions to documentation label Jan 23, 2024
@github-actions github-actions bot added logical-expr Logical plan and expressions and removed documentation Improvements or additions to documentation labels Jan 23, 2024
@alamb alamb added the documentation Improvements or additions to documentation label Jan 27, 2024
@github-actions github-actions bot removed the documentation Improvements or additions to documentation label Jan 27, 2024
Copy link
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

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

Looks good 👍

datafusion/expr/src/accumulator.rs Outdated Show resolved Hide resolved
datafusion/expr/src/accumulator.rs Outdated Show resolved Hide resolved
datafusion/expr/src/groups_accumulator.rs Outdated Show resolved Hide resolved
@alamb alamb merged commit f5302ef into apache:main Feb 4, 2024
22 checks passed
@alamb alamb deleted the alamb/groups_accumulator_blog_ling branch February 4, 2024 13:25
@alamb
Copy link
Contributor Author

alamb commented Feb 4, 2024

Thanks again for the review @Jefffrey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logical-expr Logical plan and expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants