]
Ramesh Reddy commented on TEIID-4415:
-------------------------------------
Pls add valid syntax you found out for next person.
OData4 contains(columnname,'value') eq true filter fails
--------------------------------------------------------
Key: TEIID-4415
URL:
https://issues.jboss.org/browse/TEIID-4415
Project: Teiid
Issue Type: Bug
Components: OData
Affects Versions: 9.0.2
Environment: WildFly 10
Teiid 9.0.2
Reporter: J Price
Assignee: Steven Hawkins
I am receiving the following error message when using a contains filter on an odata4
endpoint:
<error><code>null</code><message>TEIID31100 Parsing error:
Encountered ") >= 1 [*]=[*] CONVERT(" at line 1, column 247.
Was expecting: "and" | "or" | "," | ")" |
"*" | "/" | "+" | "-" | "||" |
"&&" ...</message></error>
The URI to reproduce this is as folows:
/odata4/Sandbox.1/Compatibility/USERLIST?$top=6&$filter=contains(FIRSTNAME,'peter')
eq true and contains(LASTNAME,'peter') eq false