Anyone else having datatype mess with Redshift’s weird casting of integer/timezones/boolean datatypes into varchar when UNION ALL?
These are the typical errors:
column … is of type integer but expression is of type character varying
is of type boolean but expression is of type timestamp without time zone