[
https://issues.jboss.org/browse/TEIID-3888?page=com.atlassian.jira.plugin...
]
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)