JingsongLi commented on PR #8610:
URL: https://github.com/apache/paimon/pull/8610#issuecomment-4975273319

   Currently, only `precision > 38` is checked; `numeric(10,20)` and negative 
scale values still result in the `DECIMAL` constructor being called and an 
`IllegalArgumentException` being thrown. Local minimum validation: `50,2 -> 
STRING`; `10,20` and `10,-2` both result in exceptions. It is recommended to 
also validate `scale < 0 || scale > precision`.


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