[
https://issues.jboss.org/browse/TEIID-3160?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-3160:
---------------------------------------
In Teiid BigDecimal (decimal) is considered a wider type than double/float whereas
it's the other way around in most databases. This is because our BigDecimal was
initial and still somewhat unlimited in terms of precision/scale. We may need to revisit
that.
Teiid inappropriately narrowing
-------------------------------
Key: TEIID-3160
URL:
https://issues.jboss.org/browse/TEIID-3160
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.7.1, 8.9
issuing a query such as "select 1.0/2" should be done with non-integral
division (.5), but the resolver is choosing integer division and returning 0.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)