Defining Redshift Tables
The following properties are applicable to a Redshift Table object.
Tab |
Property |
Description |
Additional Information |
Redshift |
Temporary Table | Specifies whether the table is a temporary table | |
Owner | Specifies the owner of the table | ||
Back Up | Specifies whether the table should be included in automated and manual cluster snapshots | ||
Like Table | Specifies an existing table from which the new table copies column names, data types, and NOT NULL constraints | ||
With Default Value | Indicates whether the default expressions for the copied column definitions should be copied | ||
Redshift-External Table Options Note: These properties are applicable only when the External Table check box is selected to set the table as a external table. |
Fields Terminated By | Specifies the delimiter for fields | |
Lines Terminated By | Specifies the delimiter for lines | ||
Serde Name | Specifies the SERDE format for the underlying data | ||
Stored As | Specifies the file format for data files |
Possible file formats are Parquet, RC File, Sequence File, Text File, ORC, and AVRO |
|
Input Format | Specifies the class name of the input format for text | ||
Output Format | Specifies the class name of the output format for text | ||
Serde Properties | Specifies the SERDE properties to be associated | ||
Location | Specifies the path to the Amazon S3 bucket or folder that contains the data files or a manifest file that contains a list of Amazon S3 object paths | ||
Table Properties | Specifies the clause that sets the table definition for table properties | ||
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 | ||
Partitions (Applicable only if the table is an external table) |
Partition Element | Specifies the partition name and the physical data type for the partition element | |
Partition Specification | Specifies partition specification and location once partition elements are created |
Copyright © 2021 Quest Software Inc. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies. |