jayzhan211 commented on issue #5793:
URL: https://github.com/apache/arrow-rs/issues/5793#issuecomment-2359872952

   The proposal is based on the arrow's document so it might not be correct / 
expected
   
   
https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Decimal128
   
   ```
   Exact 128-bit width decimal value with precision and scale
   
   precision is the total number of digits
   scale is the number of digits past the decimal
   For example the number 123.45 has precision 5 and scale 2.
   
   In certain situations, scale could be negative number. For negative scale, 
it is the number of padding 0 to the right of the digits.
   
   For example the number 12300 could be treated as a decimal has precision 3 
and scale -2.
   ```
   


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