adriangb commented on issue #15780:
URL: https://github.com/apache/datafusion/issues/15780#issuecomment-2978786991

   Thinking out loud about some of the tricky bits: there's going to be cases 
where we necessarily need to convert to the table schema's data type, e.g. 
`opaque_udf(col)`: we can't possibly know what `opaque_udf` accepts or not, the 
only reasonable thing to do is preserve the current behavior and cast `col` to 
the data type of `col` in the table schema.
   
   So as we design something I think it's probably best to make it default to 
the current behavior / cast everything to the table schema and optimize 
specific patterns that we know are safe (e.g. binary expressions).


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