Sql 红移数组\u到\u字符串不适用于union
我正在尝试使用红移中的并集运行数组\u到\u字符串,但我一直收到以下错误消息:Sql 红移数组\u到\u字符串不适用于union,sql,arrays,amazon-redshift,union,Sql,Arrays,Amazon Redshift,Union,我正在尝试使用红移中的并集运行数组\u到\u字符串,但我一直收到以下错误消息: 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 f
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)
不幸的是,红移不支持Postgres的数组类型:
亚马逊红移并不完全是Postgres。