Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Amazon Redshift
  3. PowerExchange for Amazon Redshift Configuration
  4. Amazon Redshift Connections
  5. PowerExchange for Amazon Redshift Data Objects
  6. Amazon Redshift Mappings
  7. Pushdown Optimization
  8. Amazon Redshift Lookup
  9. Appendix A: Amazon Redshift Datatype Reference
  10. Appendix B: Troubleshooting

PowerExchange for Amazon Redshift User Guide

PowerExchange for Amazon Redshift User Guide

Unload Command

Unload Command

You can use the Unload command to extract data from Amazon Redshift and create staging files on Amazon S3. The Unload command uses a secure connection to load data into one or more files on Amazon S3.
You can specify the Unload command options directly in the
Unload Options
field. Enter the options in uppercase and use a semicolon to separate the options. For example,
DELIMITER=\036;PARALLEL=ON;NULL=text;AWS_IAM_ROLE=arn:aws:iam::<account ID>:role/<role-name>
Even if you specify the delimiter as a semicolon, you must use a semicolon to separate the options. For example,
DELIMITER=;;PARALLEL=ON;NULL=text;AWS_IAM_ROLE=arn:aws:iam::<account ID>:role/<role-name>
You can create a property file to specify the Unload command options. You must place the property file in any location in the machine on which the Data Integration Service runs. Enter each option in a separate line in uppercase letters. For example:
DELIMITER = \036 PARALLEL = ON NULL=text AWS_IAM_ROLE=arn:aws:iam::<account ID>:role/<role-name>
Include the property file path in the
Unload Options
field. For example:
C:\Temp\Redshift\unloadoptions.txt
It is recommended to use octal representation of non-printable characters as DELIMITER.

0 COMMENTS

We’d like to hear from you!