[teiid-issues] [JBoss JIRA] (TEIID-4223) Hana translator: incorrect pushdown of QUARTER function

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Jun 14 05:38:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251990#comment-13251990 ] 

RH Bugzilla Integration commented on TEIID-4223:
------------------------------------------------

Jan Stastny <jstastny at redhat.com> changed the Status of [bug 1339584|https://bugzilla.redhat.com/show_bug.cgi?id=1339584] from ON_QA to VERIFIED

> Hana translator: incorrect pushdown of QUARTER function
> -------------------------------------------------------
>
>                 Key: TEIID-4223
>                 URL: https://issues.jboss.org/browse/TEIID-4223
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.12.5
>            Reporter: Jan Stastny
>            Assignee: Steven Hawkins
>             Fix For: 9.0, 8.12.5, 8.13.5
>
>
> Teiid's QUARTER function returns integer.
> SAP HANA's QUARTER function returns string in form:
> {code:plain}
> 2000-Q1
> {code}
> So the function either shouldn't be pushed down, or it has to be pushed down together with some substring method wrapping it:
> {code:sql}
> SUBSTR_REGEXPR('[[:digit:]]{4}\-Q([[:digit:]]{1})' IN quarter(datevalue) GROUP 1)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list