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
I had searched in the issues and found no similar issues.
Version
main
What's Wrong?
decimal value div cause panic, should return out of range error.
this bug is found by Tidb test
panicked at src/query/expression/src/utils/mod.rs:190:55:
called `Result::unwrap()` on an `Err` value: Overflow. Code: 1049, Text = Decimal scale must be between 0 and precision 76.
How to Reproduce?
root@0.0.0.0:48000/default>select 1e200/1e-200;
error: APIError: QueryFailed: [1104]called `Result::unwrap()`on an `Err` value: Overflow. Code: 1049, Text=Decimal scale must be between 0and precision 76.
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Version
main
What's Wrong?
decimal value div cause panic, should return out of range error.
this bug is found by Tidb test
How to Reproduce?
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: