Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Glue Table StorageDescriptor

The StorageDescriptor property type describes the physical storage of AWS Glue table data.

StorageDescriptor is a property of the AWS Glue Table TableInput property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "StoredAsSubDirectories" : Boolean, "Parameters" : JSON object, "BucketColumns" : [ String, ... ], "SkewedInfo" : SkewedInfo, "InputFormat" : String, "NumberOfBuckets" : Integer, "OutputFormat" : String, "Columns" : [ Column, ... ], "SerdeInfo" : SerdeInfo, "SortColumns" : [ Order, ... ], "Compressed" : Boolean, "Location" : String }

Properties

For more information, see StorageDescriptor Structure in the AWS Glue Developer Guide.

StoredAsSubDirectories

Indicates whether the table data is stored in subdirectories.

Required: No

Type: Boolean

Update requires: No interruption

Parameters

UTF-8 string–to–UTF-8 string key-value pairs that specify user-supplied properties.

Required: No

Type: JSON object

Update requires: No interruption

BucketColumns

A list of UTF-8 strings that specify reducer grouping columns, clustering columns, and bucketing columns in the table.

Required: No

Type: List of String values

Update requires: No interruption

SkewedInfo

Information about values that appear very frequently in a column (skewed values).

Required: No

Type: AWS Glue Table SkewedInfo

Update requires: No interruption

InputFormat

The input format: SequenceFileInputFormat (binary), TextInputFormat, or a custom format. It must match the single-line string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: No

Type: String

Update requires: No interruption

NumberOfBuckets

The number of buckets.

Required: Conditional. You must specify this property if the table contains any dimension columns.

Type: Integer

Update requires: No interruption

OutputFormat

The output format: SequenceFileOutputFormat (binary), IgnoreKeyTextOutputFormat, or a custom format. It must match the single-line string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: No

Type: String

Update requires: No interruption

Columns

The columns in the table.

Required: No

Type: List of AWS Glue Table Column

Update requires: No interruption

SerdeInfo

Information about a serialization/deserialization program (SerDe), which serves as an extractor and loader.

Required: No

Type: AWS Glue Table SerdeInfo

Update requires: No interruption

SortColumns

The sort order of each bucket in the table.

Required: No

Type: List of AWS Glue Table Order

Update requires: No interruption

Compressed

Indicates whether the data in the table is compressed.

Required: No

Type: Boolean

Update requires: No interruption

Location

The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name. It must match the URI address multi-line string pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Required: No

Type: String

Update requires: No interruption

See Also

On this page: