thisisnic commented on issue #32852:
URL: https://github.com/apache/arrow/issues/32852#issuecomment-7132268826

   This still behaves the same on 26.0.0. Float to decimal casts round to the 
target scale, and `allow_decimal_truncate` is only checked when the value 
doesn't fit the target precision. Since most floats aren't exactly 
representable as a short decimal, erroring on any lost digits would reject 
nearly every cast, so as suggested above let's document the behaviour instead. 
I've retitled this to cover that.
   


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

Reply via email to