Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.7.0, Impala 2.8.0, Impala 2.9.0, Impala 2.10.0, Impala 2.11.0
-
None
-
ghx-label-1
Description
The following query returns a correct result:
select cast(1.1112223334445559 as double)
Result:
1.111222333444556
However, if we first convert the literal to a decimal, we lose precision.
select cast(cast(1.1112223334445559 as decimal(38, 37)) as double)
Result:
1.111222340799091
Attachments
Issue Links
- relates to
-
IMPALA-5956 Add TPC-DS q31 and q89 to test suite
- Resolved