goldmedal commented on PR #15965:
URL: https://github.com/apache/datafusion/pull/15965#issuecomment-2855048523

   @jayzhan211  I tried to follow the previous discussion 
https://github.com/apache/datafusion/issues/13371#issuecomment-2475037377 to 
make `get_example_types` return `NativeType`. However, I found that we need to 
get the return type of a function according to the args_type, which is the 
physical type.
   
https://github.com/apache/datafusion/blob/55ba4cadce5ea99de4361929226f1c99cfc94450/datafusion/catalog/src/information_schema.rs#L408-L416
   
   Before we change the return type to the logical type, I think it's hard to 
do it.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to