[teiid-issues] [JBoss JIRA] (TEIID-4003) Vertica translator uses incorrect push down of WEEK function

RH Bugzilla Integration (JIRA) issues at jboss.org
Fri Feb 26 04:26:00 EST 2016


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

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


> Vertica translator uses incorrect push down of WEEK function
> ------------------------------------------------------------
>
>                 Key: TEIID-4003
>                 URL: https://issues.jboss.org/browse/TEIID-4003
>             Project: Teiid
>          Issue Type: Bug
>            Reporter: Andrej Šmigala
>            Assignee: Steven Hawkins
>             Fix For: 8.12.5
>
>
> TEIID-3282 changed the semantics of the WEEK function to use the iso behaviour.
> The Vertica database has WEEK_ISO function that returns the iso week, but the translator does not have that alias set.
> This results in the query (the datevalue in question is 2000-12-31)
> {code:sql}
> select week(datevalue) from source.largea where intkey = 365
> {code} 
> to return 54, when the correct value is 52.



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



More information about the teiid-issues mailing list