[teiid-issues] [JBoss JIRA] (TEIID-3160) Teiid inappropriately narrowing

Steven Hawkins (JIRA) issues at jboss.org
Wed Nov 19 13:22:39 EST 2014


    [ https://issues.jboss.org/browse/TEIID-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021297#comment-13021297 ] 

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)


More information about the teiid-issues mailing list