interface StorageDescriptorProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.CfnTable.StorageDescriptorProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTable_StorageDescriptorProperty |
![]() | software.amazon.awscdk.services.glue.CfnTable.StorageDescriptorProperty |
![]() | aws_cdk.aws_glue.CfnTable.StorageDescriptorProperty |
![]() | aws-cdk-lib » aws_glue » CfnTable » StorageDescriptorProperty |
Describes the physical storage of table data.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
declare const parameters: any;
declare const skewedColumnValueLocationMaps: any;
const storageDescriptorProperty: glue.CfnTable.StorageDescriptorProperty = {
bucketColumns: ['bucketColumns'],
columns: [{
name: 'name',
// the properties below are optional
comment: 'comment',
type: 'type',
}],
compressed: false,
inputFormat: 'inputFormat',
location: 'location',
numberOfBuckets: 123,
outputFormat: 'outputFormat',
parameters: parameters,
schemaReference: {
schemaId: {
registryName: 'registryName',
schemaArn: 'schemaArn',
schemaName: 'schemaName',
},
schemaVersionId: 'schemaVersionId',
schemaVersionNumber: 123,
},
serdeInfo: {
name: 'name',
parameters: parameters,
serializationLibrary: 'serializationLibrary',
},
skewedInfo: {
skewedColumnNames: ['skewedColumnNames'],
skewedColumnValueLocationMaps: skewedColumnValueLocationMaps,
skewedColumnValues: ['skewedColumnValues'],
},
sortColumns: [{
column: 'column',
sortOrder: 123,
}],
storedAsSubDirectories: false,
};
Properties
Name | Type | Description |
---|---|---|
bucket | string[] | A list of reducer grouping columns, clustering columns, and bucketing columns in the table. |
columns? | IResolvable | IResolvable | Column [] | A list of the Columns in the table. |
compressed? | boolean | IResolvable | True if the data in the table is compressed, or False if not. |
input | string | The input format: SequenceFileInputFormat (binary), or TextInputFormat , or a custom format. |
location? | string | The physical location of the table. |
number | number | Must be specified if the table contains any dimension columns. |
output | string | The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat , or a custom format. |
parameters? | any | The user-supplied properties in key-value form. |
schema | IResolvable | Schema | An object that references a schema stored in the AWS Glue Schema Registry. |
serde | IResolvable | Serde | The serialization/deserialization (SerDe) information. |
skewed | IResolvable | Skewed | The information about values that appear frequently in a column (skewed values). |
sort | IResolvable | IResolvable | Order [] | A list specifying the sort order of each bucket in the table. |
stored | boolean | IResolvable | True if the table data is stored in subdirectories, or False if not. |
bucketColumns?
Type:
string[]
(optional)
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns?
Type:
IResolvable
|
IResolvable
|
Column
[]
(optional)
A list of the Columns
in the table.
compressed?
Type:
boolean |
IResolvable
(optional)
True
if the data in the table is compressed, or False
if not.
inputFormat?
Type:
string
(optional)
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
location?
Type:
string
(optional)
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.
numberOfBuckets?
Type:
number
(optional)
Must be specified if the table contains any dimension columns.
outputFormat?
Type:
string
(optional)
The output format: SequenceFileOutputFormat
(binary), or IgnoreKeyTextOutputFormat
, or a custom format.
parameters?
Type:
any
(optional)
The user-supplied properties in key-value form.
schemaReference?
Type:
IResolvable
|
Schema
(optional)
An object that references a schema stored in the AWS Glue Schema Registry.
serdeInfo?
Type:
IResolvable
|
Serde
(optional)
The serialization/deserialization (SerDe) information.
skewedInfo?
Type:
IResolvable
|
Skewed
(optional)
The information about values that appear frequently in a column (skewed values).
sortColumns?
Type:
IResolvable
|
IResolvable
|
Order
[]
(optional)
A list specifying the sort order of each bucket in the table.
storedAsSubDirectories?
Type:
boolean |
IResolvable
(optional)
True
if the table data is stored in subdirectories, or False
if not.