viirya commented on PR #3203:
URL: https://github.com/apache/arrow-rs/pull/3203#issuecomment-1328324582

   > For other types we error on truncation, so I figured we would do the same 
here, if you're fine with truncation why not just use floats? I dunno, I'm not 
very knowledgeable about decimals, so happy to defer to you 😅
   
   This follows current rounding behavior when casting between decimals with 
different scales. It rounds to nearest neighbor and round up when both 
neighbors are equidistant. I added one more test to make it more clear.


-- 
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...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to