]
RH Bugzilla Integration commented on TEIID-3887:
------------------------------------------------
Juraj Duráni <jdurani(a)redhat.com> changed the Status of [bug
Redshift - RS does not support ASCII function
----------------------------------------------
Key: TEIID-3887
URL:
https://issues.jboss.org/browse/TEIID-3887
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
Redshift database does not support ASCII function
E.g. *SELECT INTKEY, ASCII(INTKEY) FROM BQT1.SmallA ORDER BY INTKEY* is translated as
*SELECT g_0.intkey AS c_0, ascii(cast(g_0.intkey AS varchar(4000))) AS c_1 FROM smalla AS
g_0 ORDER BY c_0*
Result:
{code:text}
Caused by: org.postgresql.util.PSQLException: ERROR: Specified types or functions (one
per INFO message) not supported on Redshift tables.
{code}