Defining Redshift CTAS

The following properties are applicable to a Redshift CTAS object.

Tab

Property

Description

Additional Information

Redshift

Temporary Table Specifies whether the CTAS is a temporary table  
Owner Specifies the owner of CTAS  
Back Up Specifies whether the CTAS should be included in automated and manual cluster snapshots  

Sort Key

Sort Type Specifies the sort style

Compound: Sorts data using a compound key that uses all the listed columns, in the order they are listed. Useful when the order of sort columns is important.

Interleaved: Sorts data using an interleaved sort key. Useful when the order of sort columns is not important.

Sort Key Columns Specifies one or more sort key columns for the table. When data is loaded into the table, the data is sorted by the columns that are designated as sort keys.  

Distribution

Distribute Style Specifies the data distribution style for the whole table

Even: Distributes table data evenly across the nodes in the cluster in the round-robin manner

Key: Distributes table data according to the value in the distribution key column

All: Distributes a copy of the entire table to every node

Distribution Key Columns Specifies a column name or positional number for the distribution key