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
Now it is not possible to use custom function for a series other than "id".
This works:
context
.execute("SELECT isnull(id, 0) FROM Agents").unwrap().collect().unwrap();
This will throw error:
context
.execute("SELECT isnull(name, 0) FROM Agents").unwrap().collect().unwrap();
The reason is that a logical expression is created by calling call method on UserDefinedFunction struct. This method validates args against input fields from UDF registration.
It would be very useful to have possibility to call UDF without schema validation using some flag in FunctionOptions struct.
The text was updated successfully, but these errors were encountered:
Description
Im trying to use SqlContext with custom function registry. Registration of function to registry looks like this:
Now it is not possible to use custom function for a series other than "id".
This works:
This will throw error:
The reason is that a logical expression is created by calling
call
method onUserDefinedFunction
struct. This method validates args against input fields from UDF registration.It would be very useful to have possibility to call UDF without schema validation using some flag in
FunctionOptions
struct.The text was updated successfully, but these errors were encountered: