Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Amazon Redshift
  3. PowerExchange for Amazon Redshift Configuration
  4. Amazon Redshift Sources and Targets
  5. Amazon Redshift Mappings
  6. Amazon Redshift Pushdown Optimization
  7. Amazon Redshift Sessions
  8. Appendix A: Amazon Redshift Data Type Reference
  9. Appendix B: Troubleshooting

PowerExchange for Amazon Redshift User Guide for PowerCenter

PowerExchange for Amazon Redshift User Guide for PowerCenter

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
UnloadOptions Property File
field. Enter the options in uppercase and delimit the options by using a
space.
The Unload command has the following options and default values:
DELIMITER=\036 ESCAPE=OFF PARALLEL=ON AWS_IAM_ROLE=
arn:aws:iam::<account ID>:role/<role-name>
You can also create a property file.
The property file contains the Unload command options. Include the property file path in the
UnloadOptions Property File
field. For example:
C:\Temp\Redshift\unloadoptions.txt
In the property file, delimit the options by using a new line. For example:
DELIMITER=\036
ESCAPE=OFF
PARALLEL=ON
AWS_IAM_ROLE=
arn:aws:iam::<account ID>:role/<role-name>
It is recommended to use octal representation of non-printable characters as DELIMITER and QUOTE.
If you run the Unload command as a pre-SQL or post-SQL command, specify the
ALLOWOVERWRITE
option to overwrite the existing objects.

0 COMMENTS

We’d like to hear from you!