[teiid-issues] [JBoss JIRA] (TEIID-3888) Redshift - there is not function SUBSTR (RS uses SUBSTRING)

Steven Hawkins (JIRA) issues at jboss.org
Tue May 10 08:45:00 EDT 2016


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

Steven Hawkins edited comment on TEIID-3888 at 5/10/16 8:44 AM:
----------------------------------------------------------------

Marking the original as resolved as direct usage of substring is correct - however the postgres logic hardcodes the use usage of substr in the locate handling, so that will be a new issue TEIID-4199.


was (Author: shawkins):
Marking the original as resolved as direct usage of substring is correct - however the postgres logic hardcodes the use usage of substr in the locate handling, so that will be a new issue.

> Redshift - there is not function SUBSTR (RS uses SUBSTRING)
> -----------------------------------------------------------
>
>                 Key: TEIID-3888
>                 URL: https://issues.jboss.org/browse/TEIID-3888
>             Project: Teiid
>          Issue Type: Bug
>          Components: JDBC Connector
>    Affects Versions: 8.12.3
>         Environment: driver - PostgreSQL 9.2
> translator - postgresql
>            Reporter: Juraj Duráni
>            Assignee: Steven Hawkins
>             Fix For: 8.13, 8.12.4
>
>
> Postgresql translator uses SUBSTR function to get substring of string (e.g. function LEFT(x,y)), but Redshift does not support function SUBSTR. It support SUBSTRING function instead.



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



More information about the teiid-issues mailing list