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?

preguntada hace 6 meses266 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace 6 meses
  • Thanks. I will check with support. For now we have typecast the columns.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas