10000 UDAF process all state variables by timsaucer · Pull Request #799 · apache/datafusion-python · GitHub
[go: up one dir, main page]

Skip to content

UDAF process all state variables #799

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

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

timsaucer
Copy link
Contributor
@timsaucer timsaucer commented Aug 7, 2024

Which issue does this PR close?

Closes #797

Rationale for this change

Currently only the first state variable in a user defined aggregate function is passed to the merge stage.

What changes are included in this PR?

Passes all state variables to the merge call.

Are there any user-facing changes?

Yes, any user of udaf will need to change their merge stage to use states[0] instead of states.

@timsaucer timsaucer marked this pull request as ready for review August 7, 2024 16:29
@andygrove andygrove merged commit b6f06f7 into apache:main Aug 9, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

udaf ignores all but first state variable
3 participants
0