Last active
December 11, 2020 19:43
-
-
Save 64lines/bb02de7f909561225a9daf21b33a3156 to your computer and use it in GitHub Desktop.
Unload Command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unload ('select * from schema.table') | |
to 's3://path/to/s3/folder/' | |
iam_role 'arn:aws:iam::<aws-account-id>:role/<role-name>' | |
allowoverwrite | |
format as csv; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment