Redshift View throws "UNION data types mismatch error" when it is datashared but otherwise it works fine

0

We have a view in redshift which does UNION and it does not complain about data type mismatch but when we do a datashare of the view to another cluster and try to do a select , it gives UNION mismatch error. Why is it that the view can handle the data type conversion on it's own but throws error when it is datashared?

已提問 6 個月前檢視次數 265 次
1 個回答
0
已接受的答案

This could potentially be a bug 🐛

You should open a Support Ticket for support to take a deeper dive , and for now proceed with explicit typecasting the columns.

profile pictureAWS
已回答 6 個月前
  • Thanks. I will check with support. For now we have typecast the columns.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南