Steven Hawkins created TEIID-5692:
-------------------------------------
Summary: Scaling float/double to bigdecimal/numeric is not always necessary
Key: TEIID-5692
URL:
https://issues.jboss.org/browse/TEIID-5692
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 12.2
There is logic in the FloatingNumberToBigDecimalTransform to set the scale of the result
bigdecimal to something representative of the scale of a float/double. However the way
that java represents precision/scale of small and large value - for example 0.0d becomes
0E-15 after the transformation - implies more precision or scale than expected.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)