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

Handle Serde for Custom AggregateUDFImpl traits #11422

Closed
joroKr21 opened this issue Jul 12, 2024 · 0 comments · Fixed by #11417
Closed

Handle Serde for Custom AggregateUDFImpl traits #11422

joroKr21 opened this issue Jul 12, 2024 · 0 comments · Fixed by #11417
Labels
enhancement New feature or request

Comments

@joroKr21
Copy link
Contributor

Is your feature request related to a problem or challenge?

Currently, PhysicalExtensionCodec and LogicalExtensionCodec provide hooks for decoding and encoding custom scalar UDFs. But we're missing the same for aggregation UDFs.

Describe the solution you'd like

Add try_encode_udaf and try_decode_udaf functions to PhysicalExtensionCodec and LogicalExtensionCodec with default noop implementations. Add the required function definition fields (optional bytes) to the Proto messages.

Describe alternatives you've considered

There is no alternative currently. It's not possible to run a parameterized aggregation UDF in a distributed architecture.

Additional context

See #8706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant