alamb commented on issue #11201:
URL: https://github.com/apache/datafusion/issues/11201#issuecomment-2909140210

   > do we just need to port 
[cast](https://github.com/apache/datafusion-comet/blob/main/native/spark-expr/src/conversion_funcs/cast.rs)
 here from comet?
   
   I think that is probably a good place to start (it would also be good to 
look at what Sail does)
   
   Then we probably need to think about "what happens if someone installs the 
spark compatible functions library" -- if they want all casts to have the spark 
semantics, we probably need to figure out how to update / change the 
`Expr::Cast` and `Expr::TryCast` to know to call the spark version 🤔 


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