liukun4515 commented on PR #2357:
URL: https://github.com/apache/arrow-rs/pull/2357#issuecomment-1207970365

   > > I suspect there are many places for decimals where we aren't following 
this and should be
   > 
   > I am not sure whether this is related to this PR, but the `new` method 
should also be `unsafe`: 
https://github.com/apache/arrow-rs/blob/master/arrow/src/util/decimal.rs#L81-L86
   
   Not same issue.
   
   There are many unnecessary precision validation for decimal array, such as 
reading parquet to arrow, casting smaller precision decimal arrow array to 
another bigger precision decimal arrow type.
   
   The validation of decimal array is heavy.


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