I am producing a comma-separated file in S3 that needs to be copied to a staging table in a redshift database using the postgres COPY
command.
It has one boolean
field. With every sensible way I can think of to represent the boolean value in the file, redshift copy complains, usually with "Unknown boolean format".
I'm going to give up and change the staging table field to a smallint
so that I can proceed with the copy and translate the value on the load from staging to the final redshift table, but I'm curious if anyone knows the correct incantation.
stl_load_errors
? - Carl G