Open leo-livis opened 9 months ago
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
Apache Iceberg version
1.4.2 (latest release)
Query engine
None
Please describe the bug 🐞
When I set the decimal type to decimal (10,2), if I insert a number less than this precision, an error will be reported, such as 3.1. If it is a number like 3.42 or 3.51, an error will not be reported. The error message and the logic in the source code are shown in the figure. Is it necessary to change the comparison scale to be less than or equal to