You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consistent API to set parameters of aggregate and window functions (AggregateExt --> ExprFunctionExt) (#11550)
* Moving over AggregateExt to ExprFunctionExt and adding in function settings for window functions
* Switch WindowFrame to only need the window function definition and arguments. Other parameters will be set via the ExprFuncBuilder
* Changing null_treatment to take an option, but this is mostly for code cleanliness and not strictly required
* Moving functions in ExprFuncBuilder over to be explicitly implementing ExprFunctionExt trait so we can guarantee a consistent user experience no matter which they call on the Expr and which on the builder
* Apply cargo fmt
* Add deprecated trait AggregateExt so that users get a warning but still builds
* Window helper functions should return Expr
* Update documentation to show window function example
* Add license info
* Update comments that are no longer applicable
* Remove first_value and last_value since these are already implemented in the aggregate functions
* Update to use WindowFunction::new to set additional parameters for order_by using ExprFunctionExt
* Apply cargo fmt
* Fix up clippy
* fix doc example
* fmt
* doc tweaks
* more doc tweaks
* fix up links
* fix integration test
* fix anothr doc example
---------
Co-authored-by: Tim Saucer <timothy.saucer@maymobility.com>
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
0 commit comments