I am using the copy command to copy a file (.csv.gz) from AWS S3 to Redshift
copy sales_inventory from 's3://[redacted].csv.gz' CREDENTIALS '[redacted]' COMPUPDATE ON DELIMITER ',' GZIP IGNOREHEADER 1 REMOVEQUOTES MAXERROR 30 NULL 'NULL' TIMEFORMAT 'YYYY-MM-DD HH:MI:SS' ;
I don't receive any errors, just '0 rows loaded successfully'. I checked the easy things: double checked the file's content, made sure I was targeting the right file with the copy command. Then I created a simple one row example file to try and it didn't work. I've been using a copy command template I made a long time ago and that has worked very recently.
Any common mistakes I might have overlooked? Any way other than the example file that I could try?
Thanks.