Skip to content

Instantly share code, notes, and snippets.

@juliensimon
Created April 14, 2015 09:11
Show Gist options
  • Save juliensimon/d4fd99c26f5b2ecc79d6 to your computer and use it in GitHub Desktop.
Save juliensimon/d4fd99c26f5b2ecc79d6 to your computer and use it in GitHub Desktop.
copy from s3 to redshift
COPY mydata from 's3://jsimon-logs/data.txt'
CREDENTIALS 'aws_access_key_id=ACCESS_KEY_ID;aws_secret_access_key=ACCESS_KEY
DELIMITER ','
REMOVEQUOTES
REGION 'eu-west-1’;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment