Skip to content

Improve documentation for AggregateUdfImpl::simplify and WindowUDFImpl::simplify - #20712

Merged
comphead merged 2 commits into
apache:mainfrom
alamb:alamb/better_simplity_docs
Mar 5, 2026
Merged

Improve documentation for AggregateUdfImpl::simplify and WindowUDFImpl::simplify#20712
comphead merged 2 commits into
apache:mainfrom
alamb:alamb/better_simplity_docs

Conversation

@alamb

@alambalamb commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

While working on #20665 I was somewhat confused about how the AggregateUDF simplify worked. So I added some more clarifying comments

What changes are included in this PR?

  1. Improve documentation strings

Are these changes tested?

Yes by CI

Are there any user-facing changes?

Better API docs

@github-actionsgithub-actionsBot added the logical-expr Logical plan and expressions label Mar 4, 2026
@alamb
alambforce-pushed the alamb/better_simplity_docs branch from 50f2d88 to 1626cf7CompareMarch 4, 2026 23:53
@alambalamb changed the title Improve documentation for AggregateUdfImpl::simplifyImprove documentation for AggregateUdfImpl::simplify and WindowUDFImpl::simplifyMar 4, 2026
@alambalamb added the documentation Improvements or additions to documentation label Mar 4, 2026
@alamb
alamb marked this pull request as ready for review March 4, 2026 23:54

@2010YOUY012010YOUY01 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you, great doc improvement 👍🏼

Comment threaddatafusion/expr/src/udaf.rs Outdated
Co-authored-by: Yongting You <2010youy01@gmail.com>
@github-actionsgithub-actionsBot removed the documentation Improvements or additions to documentation label Mar 5, 2026
@comphead
comphead added this pull request to the merge queueMar 5, 2026
Merged via the queue into apache:main with commit 03d17e8Mar 5, 2026
34 checks passed
@alamb

alamb commented Mar 5, 2026

Copy link
Copy Markdown
ContributorAuthor

Thanks @2010YOUY01 and @comphead

de-bgunter pushed a commit to de-bgunter/datafusion that referenced this pull request Mar 24, 2026
…Impl::simplify` (apache#20712)
## Rationale for this change
While working on apache#20665 I was
somewhat confused about how the AggregateUDF simplify worked. So I added
some more clarifying comments
## What changes are included in this PR?
1. Improve documentation strings
## Are these changes tested?
Yes by CI ## Are there any user-facing changes?
Better API docs
---------
Co-authored-by: Yongting You <2010youy01@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-exprLogical plan and expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@alamb@2010YOUY01@comphead