viirya commented on issue #2387:
URL: https://github.com/apache/arrow-rs/issues/2387#issuecomment-1228144955

   Not sure which part of decimal validation you meant?
   
   If you were talking about cast kernel, as I just quickly take a look, C++ 
implementation provides an option to choose between truncate decimal (it calls 
unsafe upscale/downscale), or do a safe rescale which will check if scaling is 
okay (no overflow/truncate) and rescaled value fits in new precision.


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