Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.37.0
Description
The following program
SELECT 95.0 / 100
produces the expected result, .95, as a DECIMAL(14, 8).
However, the program
SELECT 95 / 100.0
produces the result 0E+! with type DECIMAL(17, -1)
Attachments
Issue Links
- relates to
-
CALCITE-6464 Type inference for DECIMAL division seems incorrect
- Closed
- links to