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

Add Library Guide for User Defined Functions: Window/Aggregate #8171

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

Veeupup
Copy link
Contributor

@Veeupup Veeupup commented Nov 14, 2023

Which issue does this PR close?

Closes #7307 .

Rationale for this change

What changes are included in this PR?

Add doc for user-defined window/aggregate function

Are these changes tested?

Are there any user-facing changes?

@andygrove
Copy link
Member

Thanks for contributing more documentation @Veeupup

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you very much @Veeupup -- this is super helpful and a really nice PR 🙏 thank you for this (and all your other recent, high quality contributions ❤️ )

Something related to this that you might be interested in is #6747 (and I had a POC version of ithttps://github.com//pull/6746) to help make window functions more easily and ergonomically (creating Exprs programatically rather than via SQL).

})
}

// Optimization hint: this trait also supports `update_batch` and `merge_batch`,
Copy link
Contributor

Choose a reason for hiding this comment

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

this comment seems out of date as it is on merge_batch

@alamb
Copy link
Contributor

alamb commented Nov 15, 2023

While I am sure there are improvements we can make to this documentation, this is a lot better than we have now, so let's merge it in and iterate in subequent PRs. Thanks again @Veeupup

@alamb alamb merged commit cd1c648 into apache:main Nov 15, 2023
23 checks passed
@Veeupup Veeupup deleted the udwf_udaf_doc branch November 21, 2023 15:07
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.

Library Guide: Adding User Defined Functions: Scalar/Window/Aggregate/
3 participants