-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 field
trait method to WindowUDFImpl
, remove return_type
/nullable
#12374
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
ae69e1e
Adds new library `functions-window-common`
jcsherin f09383c
Adds `FieldArgs` struct for field of final result
jcsherin ca256fa
Adds `field` method to `WindowUDFImpl` trait
jcsherin 9b21b7f
Minor: fixes formatting
jcsherin 9324df6
Fixes: udwf doc test
jcsherin 4cd1467
Fixes: implements missing trait items
jcsherin deff13c
Updates `datafusion-cli` dependencies
jcsherin ac5ef0a
Fixes: formatting of `Cargo.toml` files
jcsherin 7c4293a
Fixes: implementation of `field` in udwf example
jcsherin 83d833b
Pass `FieldArgs` argument to `field`
jcsherin 927f1cc
Use `field` in place of `return_type` for udwf
jcsherin e29a493
Update `field` in udwf implementations
jcsherin 79d8372
Merge branch 'main' into field-args-for-window-udf
jcsherin fc969e8
Fixes: implementation of `field` in udwf example
jcsherin df2b1c8
Revert unrelated change
jcsherin e26aba6
Mark `return_type` for udwf as unreachable
jcsherin 258986d
Delete code
jcsherin ba9e39a
Uses schema name of udwf to construct `FieldArgs`
jcsherin b671b36
Adds deprecated notice to `return_type` trait method
jcsherin 712263e
Add doc comments to `field` trait method
jcsherin 9426978
Reify `input_types` when creating the udwf window expression
jcsherin 327db32
Rename name field to `schema_name` in `FieldArgs`
jcsherin f5b62ef
Make `FieldArgs` opaque
jcsherin 34565ff
Minor refactor
jcsherin ede7827
Removes `nullable` trait method from `WindowUDFImpl`
jcsherin 25f3b50
Add doc comments
jcsherin f012bdd
Rename to `WindowUDFResultArgs`
jcsherin 0e8795f
Minor: fixes formatting
jcsherin 4bd77d5
Copy edits for doc comments
jcsherin a0f2ccb
Renames field to `function_name`
jcsherin d0d429c
Rename struct to `WindowUDFFieldArgs`
jcsherin 7bceb9e
Add comments for unreachable code
jcsherin 9e04fd8
Copy edit for `WindowUDFImpl::field` trait method
jcsherin 1e8c300
Renames module
jcsherin efbad36
Fix warning: unused doc comment
jcsherin 7c445e1
Minor: rename bindings
jcsherin 7ea3ce8
Merge branch 'main' into field-args-for-window-udf
jcsherin 17da204
Minor refactor
jcsherin 32bdf36
Minor: copy edit
jcsherin acfa03e
Merge branch 'main' into field-args-for-window-udf
jcsherin a47b7a0
Fixes: use `Expr::qualified_name` for window function name
jcsherin 8da1364
Fixes: apply previous fix to `Expr::nullable`
jcsherin 9413a58
Merge branch 'main' into field-args-for-window-udf
jcsherin 275daea
Refactor: reuse type coercion for window functions
jcsherin 4c7157d
Merge branch 'main' into field-args-for-window-udf
jcsherin 045d352
Fixes: clippy errors
jcsherin 5cc7d06
Adds name parameter to `WindowFunctionDefinition::return_type`
jcsherin 0102334
Removes `return_type` field from `SimpleWindowUDF`
jcsherin 4bb799d
Add doc comment for helper method
jcsherin 2530169
Rewrite doc comments
jcsherin 25b299e
Minor: remove empty comment
jcsherin ce7df3a
Remove `WindowUDFImpl::return_type`
jcsherin bb57f8f
Fixes doc test
jcsherin e6a7113
Merge branch 'main' into field-args-for-window-udf
jcsherin c627403
Merge branch 'main' into field-args-for-window-udf
jcsherin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Return data type for udwf.