You can't use this until you register with us!




Description

Execute SQL Steps against a Redshift Cluster and optionally store the results in a desired location.


Purchasing Options



Available Actions

Run SQL Script with Date Parameters

Execute an SQL Script with the date range parameters specified.


Variables

Database Parameters
target_db required

Database to run the SQL Script or Query on.

sql_steps required

SQL Script to run. Statements are separated by a semicolon.

user_params

Parameters to use in your SQL Query or Script, if any. Refer to slide out help for more information.


Range
range_start_point required

Datetime stamp where the processing of your sequentially sorted data should begin. This field will automatically be updated after each increment is processed.

range_data_offset

Fixed amount to adjust the Next Run Start Point.

range_end_point_query

SQL Query to use to determine the end point of the data to process. Leave this field blank to process all records with a Datetime stamp after the starting point.

process_increment required

This Task will process your data in increments. Set a value in this field to determine the size of each increment.


Run SQL Script with Integer Parameters

Execute an SQL Script with the integer range parameters specified.


Variables

Database Parameters
target_db required

Database to run the SQL Script or Query on.

sql_steps required

SQL Script to run. Statements are separated by a semicolon.

user_params

Parameters to use in your SQL Query or Script, if any. Refer to slide out help for more information.


Range
range_start_point required

Integer where the processing of your sequentially sorted data should begin. This field will automatically be updated after each increment is processed.

range_end_point_query required

SQL Query to use to determine the end point of the data to process.

process_increment required

This Task will process your data in increments. Set a value in this field to determine the size of each increment.


Export Data Natively with Date Parameters

Export data from Redshift using the native UNLOAD command and date range parameters.


Variables

Database Parameters
target_db required

Database to run the SQL Script or Query on.

sql_steps required

SQL Query to run. Only one SQL step is allowed.

user_params

Parameters to use in your SQL Query or Script, if any. Refer to slide out help for more information.


Range
range_start_point required

Datetime stamp where the processing of your sequentially sorted data should begin. This field will automatically be updated after each increment is processed.

range_data_offset

Fixed amount to adjust the Next Run Start Point.

range_end_point_query

SQL Query to use to determine the end point of the data to process. Leave this field blank to process all records with a Datetime stamp after the starting point.

process_increment required

This Task will process your data in increments. Set a value in this field to determine the size of each increment.


S3 Info
s3_bucket_connection required

S3 Bucket where the exported data will be stored.

s3_path required

Folder path from the Folder Path Prefix in the S3 Bucket Connection to the folder where the data will be exported.


File/Formatting Options
file_name required

Name of the file that will be created with the exported data.

file_extension

Extension added after the File Name. It will be added before any extension added from the Compression selection.

compression required

Type of compression to apply to the file containing the exported data. A selection other than None will add a gz or bz2 extension after the File Extension. Default is gzip.

append_date required

Enable to append the creation datetime after the File Name and before any extensions.

delimiter required

Delimiter you want to use to separate columns. Default is tab delimited.

null_as

The string you want to use to indicate a null value. Default is nothing.

add_quotes required

Enable to wrap strings in quotes. Recommended for source data values containing double quote characters or the delimiter character.

escape

Enable to prepend a backslash in front of special characters.

max_size

Specify a size limit for individual files, between 5 MB and 6.2 GB. Specify a decimal number followed by MB or GB.

allow_overwrite required

Enable to overwrite existing files with the same name as a file being created. Disable to trigger Task failure.

parallel required

Enable to create multiple export files at the same time.


Export Data Natively with Integer Parameters

Export data from Redshift using the native UNLOAD command and integer range parameters.


Variables

Database Parameters
target_db required

Database to run the SQL Script or Query on.

sql_steps required

SQL Query to run. Only one SQL step is allowed.

user_params

Parameters to use in your SQL Query or Script, if any. Refer to slide out help for more information.


Range
range_start_point required

Integer where the processing of your sequentially sorted data should begin. This field will automatically be updated after each increment is processed.

range_end_point_query required

SQL Query to use to determine the end point of the data to process.

process_increment required

This Task will process your data in increments. Set a value in this field to determine the size of each increment.


S3 Info
s3_bucket_connection required

S3 Bucket where the exported data will be stored.

s3_path required

Folder path from the Folder Path Prefix in the S3 Bucket Connection to the folder where the data will be exported.


File/Formatting Options
file_name required

Name of the file that will be created with the exported data.

file_extension

Extension added after the File Name. It will be added before any extension added from the Compression selection.

compression required

Type of compression to apply to the file containing the exported data. A selection other than None will add a gz or bz2 extension after the File Extension. Default is gzip.

append_date required

Enable to append the creation datetime after the File Name and before any extensions.

delimiter required

Delimiter you want to use to separate columns. Default is tab delimited.

null_as

The string you want to use to indicate a null value. Default is nothing.

add_quotes required

Enable to wrap strings in quotes. Recommended for source data values containing double quote characters or the delimiter character.

escape

Enable to prepend a backslash in front of special characters.

max_size

Specify a size limit for individual files, between 5 MB and 6.2 GB. Specify a decimal number followed by MB or GB.

allow_overwrite required

Enable to overwrite existing files with the same name as a file being created. Disable to trigger Task failure.

parallel required

Enable to create multiple export files at the same time.