aws-cdk-lib.aws_glue.CfnTable.StorageDescriptorProperty

interface StorageDescriptorProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnTable.StorageDescriptorProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTable_StorageDescriptorProperty
Javasoftware.amazon.awscdk.services.glue.CfnTable.StorageDescriptorProperty
Pythonaws_cdk.aws_glue.CfnTable.StorageDescriptorProperty
TypeScript 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

NameTypeDescription
bucketColumns?string[]A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns?IResolvable | IResolvable | ColumnProperty[]A list of the Columns in the table.
compressed?boolean | IResolvableTrue if the data in the table is compressed, or False if not.
inputFormat?stringThe input format: SequenceFileInputFormat (binary), or TextInputFormat , or a custom format.
location?stringThe physical location of the table.
numberOfBuckets?numberMust be specified if the table contains any dimension columns.
outputFormat?stringThe output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat , or a custom format.
parameters?anyThe user-supplied properties in key-value form.
schemaReference?IResolvable | SchemaReferencePropertyAn object that references a schema stored in the AWS Glue Schema Registry.
serdeInfo?IResolvable | SerdeInfoPropertyThe serialization/deserialization (SerDe) information.
skewedInfo?IResolvable | SkewedInfoPropertyThe information about values that appear frequently in a column (skewed values).
sortColumns?IResolvable | IResolvable | OrderProperty[]A list specifying the sort order of each bucket in the table.
storedAsSubDirectories?boolean | IResolvableTrue 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 | ColumnProperty[] (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 | SchemaReferenceProperty (optional)

An object that references a schema stored in the AWS Glue Schema Registry.


serdeInfo?

Type: IResolvable | SerdeInfoProperty (optional)

The serialization/deserialization (SerDe) information.


skewedInfo?

Type: IResolvable | SkewedInfoProperty (optional)

The information about values that appear frequently in a column (skewed values).


sortColumns?

Type: IResolvable | IResolvable | OrderProperty[] (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.