Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.13.0
Description
Currently we are working in Drill to allow support for Nan an Infinity values .
When using such values with functions we see the NumberFormatException exception.
Query example: select sin(cast('NaN' as float))
RexBuilder#clean and other RexBuilder's methods use BigDecimal for handling Double values, that's why we get NumberFormatException for nan,inf values.
Attachments
Issue Links
- blocks
-
CALCITE-6582 Release Calcite 1.38.0
- Closed
- causes
-
CALCITE-6617 TypeCoercion is not applied correctly to comparisons
- Closed
- relates to
-
CALCITE-6052 SqlImplementor writes REAL, FLOAT, or DOUBLE literals as DECIMAL literals
- Closed
-
CALCITE-5827 Add IS_INF and IS_NAN functions (enabled in BigQuery library)
- Closed
- links to