[teiid-issues] [JBoss JIRA] (TEIID-5279) OData4 translator incorrecly translates modulo function
Ramesh Reddy (JIRA)
issues at jboss.org
Mon Mar 12 12:57:00 EDT 2018
[ https://issues.jboss.org/browse/TEIID-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on TEIID-5279 started by Ramesh Reddy.
-------------------------------------------
> OData4 translator incorrecly translates modulo function
> -------------------------------------------------------
>
> Key: TEIID-5279
> URL: https://issues.jboss.org/browse/TEIID-5279
> Project: Teiid
> Issue Type: Bug
> Components: OData
> Affects Versions: 8.12.11.6_4
> Reporter: Jan Martiska
> Assignee: Ramesh Reddy
>
> With an OData4 translator, the {{modulo}} function is translated incorrectly:
> {{WHERE MOD(number, 11) = 3}} is translated to {{filter=mod(number,11) eq 3}}
> but in OData spec, {{mod}} is an infix function, so the filter should be {{filter=number mod 11 eq 3}}
> See http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part2-url-conventions.html#_Toc444868689
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the teiid-issues
mailing list