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

   `ScalarUDFImpl.return_type` is part of DataFusion's public API but returns 
an internal error if called, which doesn't seem correct. Should we deprecate 
this function and change the error type?
   
   ```
       fn return_type(&self, _arg_types: &[DataType]) -> Result<DataType> {
           internal_err!("return_type_from_exprs shoud be called instead")
       }
   ```


-- 
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