How To Easily Extract Data With Headers From Amazon Redshift
Everything is built into the container, including psycopg, OS and other Python packages… Running inside a container:
python unload.py -t mytable -f s3://dest-bucket/foo/bar/output_file.csv… python unload.py -t mytable -f s3://dest-bucket/foo/bar/output_file.csv -r datecol -r1 2017-01-01 -r2