I have encountered following error when trying to load a file from S3 to my redshift tables using copy command and unable to find any clue regarding this.
-----------------------------------------------
error: Failed writing body (0 != 776) Cause: Failed to inflateinvalid or incomplete deflate data. zlib error code: -3
code: 9001
context: S3 key being read : s3://redshift-dev-sandbox/Moores.csv
query: 2565852
location: table_s3_scanner.cpp:356
process: query0_33 [pid=10565]
-----------------------------------------------
copy "aw_tushar_allentity".dataset_customerdataset from 's3://redshift-dev-sandbox/Moores.csv' credentials 'aws_access_key_id=xxxx;aws_secret_access_key=xxxx' delimiter ',' CSV IGNOREHEADER 1 GZIP;