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
When users call a UDF with the correct name but invalid arguments, RisingWave will return an error saying the function is not supported. This is misleading. The error message should be improved.
dev=> create function foo(varchar[], int) returns bool
language python as foo using link 'http://localhost:8815/';
dev=>select foo(array['xxx']);
ERROR: QueryError: Feature is not yet implemented: unsupported function: "foo"
Tracking issue: https://github.com/risingwavelabs/risingwave/issues/112
To Reproduce
No response
Expected behavior
The error message should be like pg: function name(types...) does not exist
postgres=# CREATE FUNCTION foo(x int) RETURNS int ...;
postgres=# select foo(1,2);
ERROR: function foo(integer, integer) does not exist
line1: select foo(1,2);
^
No function matches the given name and argument types. You might need to add explicit type casts.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When users call a UDF with the correct name but invalid arguments, RisingWave will return an error saying the function is not supported. This is misleading. The error message should be improved.
To Reproduce
No response
Expected behavior
The error message should be like pg:
function name(types...) does not exist
Additional context
No response
The text was updated successfully, but these errors were encountered: