You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect error message for decimal with scale while input value is out of bound #3666
Fast-forward a few years, and this behavior is back.
select1::decimal(1, 1);
Arrow error: Invalid argument error: 10 is too large to store in a Decimal128 of precision 1. Max is 9select10::decimal(2, 1);
Arrow error: Invalid argument error: 100 is too large to store in a Decimal128 of precision 2. Max is 99
Activity
HaoYang670 commentedon Oct 5, 2022
Is this a parsing error of decimal value? cc @liukun4515
liukun4515 commentedon Oct 6, 2022
@waitingkuo
The error message is not right, we just print the value of i128 for the precision, and don't consider the scale value.
HaoYang670 commentedon Nov 7, 2022
Not sure which PR affects it, but this is what I got with the latest commit in the master branch:
HaoYang670 commentedon Nov 7, 2022
cc @andygrove
drauschenbach commentedon Nov 1, 2024
Fast-forward a few years, and this behavior is back.
Jefffrey commentedon Sep 18, 2025
See upstream issue in arrow-rs: apache/arrow-rs#8382
Upgrade DataFusion to arrow/parquet 57.0.0 (#17888)
Upgrade DataFusion to arrow/parquet 57.0.0 (apache#17888)
Upgrade DataFusion to arrow/parquet 57.0.0 (apache#17888)