Bug 1322536

Summary: Odata - date functions does't accept date string as a parameter
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Michal Sanitrak <msanitra>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact: Juraj DurĂ¡ni <jdurani>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: aszczucz, blafond, jdurani, jolee, mbaluch, thauser, vhalbert
Target Milestone: ER2   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:39:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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