andygrove commented on issue #13716:
URL: https://github.com/apache/datafusion/issues/13716#issuecomment-6932872006

   Closing this. `return_type_from_exprs` has since been replaced by 
`return_field_from_args`, and the `ScalarUDFImpl::return_type` docs now say 
that DataFusion doesn't call `return_type` when `return_field_from_args` is 
implemented, and that returning an internal error there is the recommended 
behaviour. Callers should use `ScalarUDF::return_field_from_args`. The 
longer-term idea of having the UDF in the plan carry its return type is tracked 
in #12604.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to