redshift array_to_string не работает с объединением

Я пытаюсь запустить array_to_string с объединением в красном смещении, но продолжаю получать следующее сообщение об ошибке:

ERROR: Specified types or functions (one per INFO message) not supported on Redshift tables. [SQL State=0A000] 

Сам запрос довольно прост, поэтому я не уверен, почему я продолжаю получать это, может кто-нибудь посоветовать

(SELECT array_to_string(array(select column_name::text from information_schema.columns where table_name= 'customer_insert' order by ordinal_position),'|'))
UNION 
(select "user.firstname"::text from digital.customer_insert where "user.isocountrycode" = 'BE' limit 2)

person godzilla    schedule 10.03.2014    source источник
comment
Amazon Redshift — это не совсем Postgres.   -  person Erwin Brandstetter    schedule 10.03.2014


Ответы (1)


К сожалению, Redshift не поддерживает тип массива Postgres: http://docs.aws.amazon.com/redshift/latest/dg/c_unsupported-postgresql-datatypes.html

person user2303197    schedule 03.06.2014