matrixone
matrixone copied to clipboard
[Bug]: select constant decimal lose precision
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch Name
main
Commit ID
4ce6b31
Other Environment Information
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
Expected Behavior
No response
Steps to Reproduce
select 111111111111111111111111111111111111111.11111111111111;
Additional information
No response
The integral part of mentioned constant has 39 digits, which exceeds Decimal128's upper limit 38 digits. So it is parsed as a double.
It complies with our type system, and is not a bug.