[JBoss JIRA] (TEIID-4225) HANA translator : DAYNAME function is not pushed
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-4225?page=com.atlassian.jira.plugin... ]
Van Halbert updated TEIID-4225:
-------------------------------
Fix Version/s: (was: 8.12.x)
> HANA translator : DAYNAME function is not pushed
> ------------------------------------------------
>
> Key: TEIID-4225
> URL: https://issues.jboss.org/browse/TEIID-4225
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Affects Versions: 8.12.5
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 9.1
>
>
> Teiid's DAYNAME function is not being pushed to HANA even though it could be as HANA's DAYNAME function. The only difference could be that HANA returns names in capital letters.
> Query:
> {code:sql}
> SELECT DAYNAME(datevalue) FROM bqt1.smalla
> {code}
> Source specific query:
> {code:sql}
> SELECT g_0."DATEVALUE" FROM "BQT1"."SMALLA" AS g_0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4225) HANA translator : DAYNAME function is not pushed
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-4225?page=com.atlassian.jira.plugin... ]
Van Halbert updated TEIID-4225:
-------------------------------
Fix Version/s: 8.12.x
> HANA translator : DAYNAME function is not pushed
> ------------------------------------------------
>
> Key: TEIID-4225
> URL: https://issues.jboss.org/browse/TEIID-4225
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Affects Versions: 8.12.5
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 8.12.x, 9.1
>
>
> Teiid's DAYNAME function is not being pushed to HANA even though it could be as HANA's DAYNAME function. The only difference could be that HANA returns names in capital letters.
> Query:
> {code:sql}
> SELECT DAYNAME(datevalue) FROM bqt1.smalla
> {code}
> Source specific query:
> {code:sql}
> SELECT g_0."DATEVALUE" FROM "BQT1"."SMALLA" AS g_0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4225) HANA translator : DAYNAME function is not pushed
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4225?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-4225.
-----------------------------------
Resolution: Done
Added to the supported functions list.
> HANA translator : DAYNAME function is not pushed
> ------------------------------------------------
>
> Key: TEIID-4225
> URL: https://issues.jboss.org/browse/TEIID-4225
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Affects Versions: 8.12.5
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 9.1
>
>
> Teiid's DAYNAME function is not being pushed to HANA even though it could be as HANA's DAYNAME function. The only difference could be that HANA returns names in capital letters.
> Query:
> {code:sql}
> SELECT DAYNAME(datevalue) FROM bqt1.smalla
> {code}
> Source specific query:
> {code:sql}
> SELECT g_0."DATEVALUE" FROM "BQT1"."SMALLA" AS g_0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4225) HANA translator : DAYNAME function is not pushed
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4225?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-4225:
----------------------------------
Issue Type: Enhancement (was: Bug)
> HANA translator : DAYNAME function is not pushed
> ------------------------------------------------
>
> Key: TEIID-4225
> URL: https://issues.jboss.org/browse/TEIID-4225
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Affects Versions: 8.12.5
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 9.1
>
>
> Teiid's DAYNAME function is not being pushed to HANA even though it could be as HANA's DAYNAME function. The only difference could be that HANA returns names in capital letters.
> Query:
> {code:sql}
> SELECT DAYNAME(datevalue) FROM bqt1.smalla
> {code}
> Source specific query:
> {code:sql}
> SELECT g_0."DATEVALUE" FROM "BQT1"."SMALLA" AS g_0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4225) HANA translator : DAYNAME function is not pushed
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4225?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-4225:
----------------------------------
Fix Version/s: 9.1
(was: 9.0)
(was: 8.12.5)
(was: 8.13.5)
> HANA translator : DAYNAME function is not pushed
> ------------------------------------------------
>
> Key: TEIID-4225
> URL: https://issues.jboss.org/browse/TEIID-4225
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.12.5
> Reporter: Jan Stastny
> Assignee: Steven Hawkins
> Priority: Minor
> Fix For: 9.1
>
>
> Teiid's DAYNAME function is not being pushed to HANA even though it could be as HANA's DAYNAME function. The only difference could be that HANA returns names in capital letters.
> Query:
> {code:sql}
> SELECT DAYNAME(datevalue) FROM bqt1.smalla
> {code}
> Source specific query:
> {code:sql}
> SELECT g_0."DATEVALUE" FROM "BQT1"."SMALLA" AS g_0
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 9 months
[JBoss JIRA] (TEIID-4223) Hana translator: incorrect pushdown of QUARTER function
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-4223?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-4223.
---------------------------------
> 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)
9 years, 9 months