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

feature: Allow custom window functions to be registered with the driver #1220

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ohaibbq
Copy link

@ohaibbq ohaibbq commented Feb 11, 2024

This implements the registration of user-defined window functions. It extends the existing RegisterAggregator interface to allow the impl to implement Inverse and Value, in which case, the aggregator can be used both as a regular aggregate function and a window function.

Closes #1215

@ohaibbq
Copy link
Author

ohaibbq commented Mar 11, 2024

Hi @mattn, how can I help in getting this merged?

@mattn
Copy link
Owner

mattn commented Mar 15, 2024

Sorry my delay. I'll look into it in later.

@mattn
Copy link
Owner

mattn commented Mar 15, 2024

Look good for me. @rittneje any opinion?

@ohaibbq
Copy link
Author

ohaibbq commented Mar 28, 2024

A friendly bump on this @rittneje

@ohaibbq
Copy link
Author

ohaibbq commented Apr 11, 2024

@mattn This would be very helpful to get in for the users of https://github.com/goccy/bigquery-emulator I cannot merge my feature branch into the project as it uses a forked go-sqlite3.

Is there anything else I could do to push this along?

@mattn
Copy link
Owner

mattn commented Apr 11, 2024

Yes, I'm thinking this is useful but I want to wait @rittneje 's opinion.

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.

Support for custom window functions
2 participants