waitingkuo opened a new issue, #3666:
URL: https://github.com/apache/arrow-datafusion/issues/3666
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
```bash
❯ select 1::decimal(1, 1);
ArrowError(InvalidArgumentError("10 is too large to store in a Decimal128 of
precision 1. Max is 9"))
```
```bash
❯ select 10::decimal(2, 1);
ArrowError(InvalidArgumentError("100 is too large to store in a Decimal128
of precision 2. Max is 99"))
```
**Expected behavior**
A clear and concise description of what you expected to happen.
something like
```bash
❯ select 10::decimal(2, 1);
ArrowError(InvalidArgumentError("10 is too large to store in a Decimal128 of
precision 2 with scale 1. Max is 9.9"))
```
**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]