-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: include valid alternative UDF signatures in error message (MINOR) (
#4403) * fix: include valid alternative UDF signatures in error message When a UDF/UDAF/UDTF is called with incorrect parameters the user is informed by the error: ``` Function 'Foo' does not accept parameters of types:[STRING, STRING] ``` This is all well and good, but KSQL could be more helpful! The message is now: ``` Function 'Foo' does not accept parameters (STRING, STRING). Valid alternatives are: FOO(STRING) FOO(STRING text, INT len) FOO(STRING text, INT start, INT len) For detailed information on a function run: DESCRIBE FUNCTION <Function-Name>; ```
- Loading branch information
1 parent
2559b2f
commit f397ad8
Showing
4 changed files
with
229 additions
and
153 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
Oops, something went wrong.