[teiid-issues] [JBoss JIRA] (TEIID-4087) OData - Math function round doesn't accept decimal number as parameter

Steven Hawkins (JIRA) issues at jboss.org
Mon Jun 20 09:37:02 EDT 2016


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

Steven Hawkins closed TEIID-4087.
---------------------------------


> OData - Math function round doesn't accept decimal number as parameter
> ----------------------------------------------------------------------
>
>                 Key: TEIID-4087
>                 URL: https://issues.jboss.org/browse/TEIID-4087
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: OData
>            Reporter: Michal Sanitrak
>            Assignee: Ramesh Reddy
>              Labels: Alpha3
>             Fix For: 9.0, 8.12.5
>
>
> Reference service which supports OData V4:
> *ULR:* http://services.odata.org/V4/Northwind/Northwind.svc/Employees/?$filter=EmployeeID%20eq%20round(4.2)
> *Result:* Employee with ID 4
> *URL:* http://localhost:8080/odata4/olingo_basic/Source/SimpleTableView/?$filter=intkey%20eq%20round(4.2)
> *Actual result:* {"error": {"code": null, "message": "TEIID30558 Error converting parameter number 1 with value \"4,2\" of class java.math.BigDecimal to expected type integer." }}
> *Expected result:* Entity with intkey 4



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list