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
Add field trait method to WindowUDFImpl, remove return_type/nullable (#12374)
* Adds new library `functions-window-common`
* Adds `FieldArgs` struct for field of final result
* Adds `field` method to `WindowUDFImpl` trait
* Minor: fixes formatting
* Fixes: udwf doc test
* Fixes: implements missing trait items
* Updates `datafusion-cli` dependencies
* Fixes: formatting of `Cargo.toml` files
* Fixes: implementation of `field` in udwf example
* Pass `FieldArgs` argument to `field`
* Use `field` in place of `return_type` for udwf
* Update `field` in udwf implementations
* Fixes: implementation of `field` in udwf example
* Revert unrelated change
* Mark `return_type` for udwf as unreachable
* Delete code
* Uses schema name of udwf to construct `FieldArgs`
* Adds deprecated notice to `return_type` trait method
* Add doc comments to `field` trait method
* Reify `input_types` when creating the udwf window expression
* Rename name field to `schema_name` in `FieldArgs`
* Make `FieldArgs` opaque
* Minor refactor
* Removes `nullable` trait method from `WindowUDFImpl`
* Add doc comments
* Rename to `WindowUDFResultArgs`
* Minor: fixes formatting
* Copy edits for doc comments
* Renames field to `function_name`
* Rename struct to `WindowUDFFieldArgs`
* Add comments for unreachable code
* Copy edit for `WindowUDFImpl::field` trait method
* Renames module
* Fix warning: unused doc comment
* Minor: rename bindings
* Minor refactor
* Minor: copy edit
* Fixes: use `Expr::qualified_name` for window function name
* Fixes: apply previous fix to `Expr::nullable`
* Refactor: reuse type coercion for window functions
* Fixes: clippy errors
* Adds name parameter to `WindowFunctionDefinition::return_type`
* Removes `return_type` field from `SimpleWindowUDF`
* Add doc comment for helper method
* Rewrite doc comments
* Minor: remove empty comment
* Remove `WindowUDFImpl::return_type`
* Fixes doc test
0 commit comments