Open davidshiz opened 1 year ago
@davidshiz , pls, ref to https://stonedb.io/docs/SQL-reference/data-types, what the range we supported now
On StoneDB, the precision for DECIMAL numbers cannot be higher than 18. For example, if you specify decimal(19) in your code, an error will be reported. DECIMAL(6, 2) indicates that up to 6 places are supported at the left of the decimal and up to 2 at the right, and thus the value range is [-9999.99, 9999.99].
@davidshiz , pls, ref to https://stonedb.io/docs/SQL-reference/data-types, what the range we supported now
On StoneDB, the precision for DECIMAL numbers cannot be higher than 18. For example, if you specify decimal(19) in your code, an error will be reported. DECIMAL(6, 2) indicates that up to 6 places are supported at the left of the decimal and up to 2 at the right, and thus the value range is [-9999.99, 9999.99].
This document is wrong, 6 should be changed to 4, as follows
indicates that up to 6 places are supported at the left of the decimal
Have you read the Contributing Guidelines on issues?
Please confirm if bug report does NOT exists already ?
Describe the problem
Expected behavior
How To Reproduce
Environment
Are you interested in submitting a PR to solve the problem?