小编wyn*_*wyn的帖子

Redshift 加载数据问题:Redshift 表不支持指定类型或函数(每个 INFO 消息一个)

SELECT s.store_id    AS store_key,
       s.store_id,
       a.address,
       a.address2,
       a.district,
       c.city,
       co.country,
       a.postal_code,
       st.first_name AS manager_first_name,
       st.last_name  AS manager_last_name,
       now()         AS start_date,
       now()         AS end_date
FROM staging_store s
JOIN staging_staff st   ON (s.manager_staff_id = st.staff_id)
JOIN staging_address a  ON (s.address_id = a.address_id)
JOIN staging_city c     ON (a.city_id = c.city_id)
JOIN staging_country co ON (c.country_id = co.country_id)

Run Code Online (Sandbox Code Playgroud)

我正在尝试使用上面的查询将我的 pagila 数据加载到 Redshift 中,但遇到了这个错误。到处找遍了,还是没找到解决办法。

[Amazon](500310) Invalid operation: Specified types or functions (one per INFO message) not supported on Redshift tables.;
Run Code Online (Sandbox Code Playgroud)

这是什么意思以及如何解决?

etl amazon-web-services amazon-redshift

0
推荐指数
1
解决办法
3413
查看次数

标签 统计

amazon-redshift ×1

amazon-web-services ×1

etl ×1