Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.35.0
Description
Consider a DECIMAL literal such as "0.00000000000000001"
When unparsed this will show up as 1E-17, which is interpreted by SQL as a double literal.
The bug is in the function SqlNumericLiteral.toValue(). The function calls toString() on a BigDecimal value, but it should probably call toPlainString() instead.
Attachments
Issue Links
- links to