[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1004) Check for common math exceptions

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Mon Mar 1 16:34:10 EST 2010


     [ https://jira.jboss.org/jira/browse/TEIID-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-1004.
-----------------------------------

    Resolution: Done


Added a check in the library manager to look for nan/infinite as a function result.  There is also a system property org.teiid.allowNanInfinity which can be set to true to allow the old behavior.

> Check for common math exceptions
> --------------------------------
>
>                 Key: TEIID-1004
>                 URL: https://jira.jboss.org/jira/browse/TEIID-1004
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: Query Engine
>    Affects Versions: 6.0.0
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 7.0
>
>
> Rather than returning NaN or +-Infinity, it would be best for Teiid to throw an exception for float/double divide by zero, log of a non-positive value, etc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list