Bug 1322536 - Odata - date functions does't accept date string as a parameter
Summary: Odata - date functions does't accept date string as a 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-30 16:45 UTC by Michal Sanitrak
Modified: 2016-08-24 11:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 11:39:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-4110 0 Major Closed Odata - date functions does't accept date string as a parameter 2016-06-20 13:37:26 UTC

Description Michal Sanitrak 2016-03-30 16:45:51 UTC
Date functions year, month, day, hour, minute and second doesn't accept date string(DateTimeOffset) as a parameter.

Reference service which supports OData V4:
ULR: http://services.odata.org/V4/Northwind/Northwind.svc/Employees/?$filter=month(2001-01-01T00:01:01.01Z) eq EmployeeID 
Result: Employee with ID 1

URL: http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable/?$filter=month(2001-01-01T00:01:01.01Z) eq intkey
Result: {"error": {"code": null, "message": "TEIID30069 The function 'MONTH(?)' has more than one possible signature." }}
Expected result: Entity with intkey 1

Comment 1 JBoss JIRA Server 2016-03-30 22:17:56 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4110 to Resolved

Comment 4 JBoss JIRA Server 2016-06-20 13:37:27 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-4110 to Closed


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