HaoYang670 opened a new issue, #2440:
URL: https://github.com/apache/arrow-rs/issues/2440

   **Describe the bug**
   Users can create Decimal values with invalid BYTE_WIDTH, such as
   ```rust
   let v = BasicDecimal::<1>::new(1, 1, &[1]);
   ```
   
   **Expected behavior**
   We need to add more restriction to the decimal type so that only 
`Decimal128` and `Decimal256` can be used.
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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