Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.27.0
Description
Redshift does not support character sets in data types. In fact it seems that it only supports UTF-8. As a result any appearance of the CHARACTER SET clause in a query leads to errors.
select cast (col1 as varchar(3) CHARACTER SET "ISO-8859-1") from test;
Error: ERROR: type "pg_catalog.varchar_iso-8859-1" does not exist (state=42704,code=0)
Even if CHARACTER SET clause is not explicitly present in the original query it might appear in the generated SQL via RelToSqlConverter due to casts or other operations.
Attachments
Issue Links
- links to