sql - postgresql / redshift array_to_string does not work with union -
i attempting run array_to_string union in redshift keep getting following error message:
error: specified types or functions (one per info message) not supported on redshift tables. [sql state=0a000]
the query pretty straight forward, not sure why keep getting this, can please advise
(select array_to_string(array(select column_name::text information_schema.columns table_name= 'customer_insert' order ordinal_position),'|')) union (select "user.firstname"::text digital.customer_insert "user.isocountrycode" = 'be' limit 2)
unfortunately redshift not support postgres's array type: http://docs.aws.amazon.com/redshift/latest/dg/c_unsupported-postgresql-datatypes.html
Comments
Post a Comment