-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
return_type_from_args
for ScalarFunction. (#14094)
* switch func Signed-off-by: Jay Zhan <[email protected]> * fix test Signed-off-by: Jay Zhan <[email protected]> * fix test Signed-off-by: Jay Zhan <[email protected]> * deprecate old Signed-off-by: Jay Zhan <[email protected]> * add try new Signed-off-by: Jay Zhan <[email protected]> * deprecate Signed-off-by: Jay Zhan <[email protected]> * rm deprecate Signed-off-by: Jay Zhan <[email protected]> * reaplce deprecated func Signed-off-by: Jay Zhan <[email protected]> * cleanup Signed-off-by: Jay Zhan <[email protected]> * combine type and nullable Signed-off-by: Jay Zhan <[email protected]> * fix slowdown Signed-off-by: Jay Zhan <[email protected]> * clippy Signed-off-by: Jay Zhan <[email protected]> * fix take Signed-off-by: Jay Zhan <[email protected]> * fmt Signed-off-by: Jay Zhan <[email protected]> * rm duplicated test Signed-off-by: Jay Zhan <[email protected]> * refactor: remove unused documentation sections from scalar functions * upd doc Signed-off-by: Jay Zhan <[email protected]> * use scalar value Signed-off-by: Jay Zhan <[email protected]> * fix test Signed-off-by: Jay Zhan <[email protected]> * fix test Signed-off-by: Jay Zhan <[email protected]> * use try_as_str Signed-off-by: Jay Zhan <[email protected]> * refactor: improve error handling for constant string arguments in UDFs * refactor: enhance error messages for constant string requirements in UDFs * refactor: streamline argument validation in return_type_from_args for UDFs * rename and doc Signed-off-by: Jay Zhan <[email protected]> * refactor: add documentation for nullability of scalar arguments in ReturnTypeArgs * rm test Signed-off-by: Jay Zhan <[email protected]> * refactor: remove unused import of Int32Array in utils tests --------- Signed-off-by: Jay Zhan <[email protected]>
- Loading branch information
1 parent
acf66d6
commit d3f1c9a
Showing
21 changed files
with
475 additions
and
326 deletions.
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
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.