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

WIP: Allow custom window functions to be registered #1216

Closed
wants to merge 1 commit into from

Conversation

ohaibbq
Copy link

@ohaibbq ohaibbq commented Feb 7, 2024

This is a draft PR to discuss the desired interface and implementation for #1215

I've added a new function RegisterWindowAggregator that is similar to (read: copy/pasted from) RegisterAggregator. An alternative would be to check that the interface impl implements the two functions that windowing requires Inverse and Value.

I'm unsure if it makes sense to use the type-embedded windowAggInfo, or instead to consolidate this into aggInfo

Once I get clarification on these two points I can make this PR more review-ready

Thanks for taking a look!

@ohaibbq
Copy link
Author

ohaibbq commented Feb 10, 2024

closing in favor of a more "real" implementation!

@ohaibbq ohaibbq closed this Feb 10, 2024
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.

1 participant