Bug 1318435 - OData - Math function round doesn't accept decimal number as parameter
Summary: OData - Math function round doesn't accept decimal number as parameter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.3.0
Assignee: Van Halbert
QA Contact: Juraj Duráni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-16 21:20 UTC by Michal Sanitrak
Modified: 2016-08-24 11:42 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:42:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-4087 0 Major Closed OData - Math function round doesn't accept decimal number as parameter 2016-06-20 13:36:52 UTC

Description Michal Sanitrak 2016-03-16 21:20:55 UTC
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

Comment 1 JBoss JIRA Server 2016-03-18 19:22:39 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4087 to Coding In Progress

Comment 2 JBoss JIRA Server 2016-03-18 19:30:07 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4087 to Resolved

Comment 5 JBoss JIRA Server 2016-06-20 13:36:52 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-4087 to Closed


Note You need to log in before you can comment on or make changes to this bug.