findepi commented on issue #14729:
URL: https://github.com/apache/datafusion/issues/14729#issuecomment-2665165224

   > The "correct" way would have been to have a default 
`return_type_from_args` delegate to `return_type_from_exprs`, but I'm not sure 
if that's possible?
   
   That's what we should have done. Except that 
   `return_type_from_exprs` requires the expressions
   `return_type_from_args` doesn't have the expressions
   
   it would need to fabricate some fake expressions. This is doable, but still 
could break something/someone who depended on having access to factual 
non-literal input expressions in their `return_type_from_exprs` impl. (I don't 
see a sense in such implementation, just speculating.)


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