[teiid-issues] [JBoss JIRA] (TEIID-5320) SAP IQ translator wrong pushdown of dateadd function

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu Apr 19 09:04:34 EDT 2018


     [ https://issues.jboss.org/browse/TEIID-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated TEIID-5320:
-------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1569538
        Bugzilla Update: Perform


> SAP IQ translator wrong pushdown of dateadd function
> ----------------------------------------------------
>
>                 Key: TEIID-5320
>                 URL: https://issues.jboss.org/browse/TEIID-5320
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.12.13.6_4
>            Reporter: Jan Stastny
>            Assignee: Steven Hawkins
>
> SAP IQ translator's pushdown of DATEADD function is wrong.
> The function DATEADD has following signature in SAP IQ:
> bq. DATEADD ( date-part, numeric-expression, date-expression )
> the date-part is of type Date Part, see (1).
> Teiid is currently pushing DATEADD function with date-part argument as string, which causes an error. It should be Date Part identifier, e.g. instead of 'DAY', it should be DAY.
> (1) http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc38159.1600/doc/html/san1277395118633.html



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list