[
https://jira.jboss.org/jira/browse/TEIID-671?page=com.atlassian.jira.plug...
]
Steven Hawkins resolved TEIID-671.
----------------------------------
Resolution: Done
Changed the Evaluator comparison logic to use compareTo == 0 to check for equality. This
allows bigdecimal equality checks to ignore precision. Also added bigdecimal versions of
the mod, atan2, and all "double" functions. Support for these functions with
longs or bigintegers is then provided by implicit converts up to bigdecimal (and then back
down to double).
Teiid should accept LongNum, DoubleNum, and BigDecimalValue in
numeric function
-------------------------------------------------------------------------------
Key: TEIID-671
URL:
https://jira.jboss.org/jira/browse/TEIID-671
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.1.0
Environment: CTC
Reporter: Warren Gibson
Assignee: Steven Hawkins
Priority: Critical
Fix For: 6.2.0
Attachments: UnexpectedResults.ods
Teiid Query Testing
1. Ran CTC query testing against Teiid and received Exception when actual results were
expected.
2. The queries contained LongNum, DoubleNum, and BigDecimalValue. We should accept
LongNum, DoubleNum, and BigDecimalValue in numeric function.
3. Attached is a spreadsheet with a sampling of the query results.
--
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