liukun4515 commented on issue #2313:
URL: https://github.com/apache/arrow-rs/issues/2313#issuecomment-1204700281

   In the arrow-rs, there are many places to generate the decimal array.
   If the precision/range of the target decimal is larger than the source 
decimal/data value, we don't need to validation the generated decimal array.
   
   For example, Reading the decimal(n,0) from parquet int64 column and the n is 
greater equal to 18, we don't need to verify the result of the decimal array, 
because the value from int64 will not be overflow the target precision.
   
   From above the method, we use less cpu for decimal data type.


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