gene-bordegaray commented on issue #19090:
URL: https://github.com/apache/datafusion/issues/19090#issuecomment-3617858853

   > +1 on the proposal, but I'd like to point out that `CAST` is not 
necessarily monotonic, `int -> string` would break as collation ordering goes 
from numeric to lexicographic, and also casts with the range of the "target" 
type is smaller than that of the "source" type, due to the risk of overflow, 
like for `float -> int`.
   > 
   > I'd reformulate as "CAST when it is defined as an order-preserving, 
non-overflowing transformation on the domain" or similar.
   
   Thank you for pointing out. I will have a more in depth and clear parameters 
around the wrk that needs to be done for these function 😄 


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