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

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Mar 16 19:12:02 EDT 2016


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

RH Bugzilla Integration updated TEIID-4087:
-------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1318435
        Bugzilla Update: Perform


> 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
>
> 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