class Aws::Glue::Types::StorageDescriptor

Describes the physical storage of table data.

@note When making an API call, you may pass StorageDescriptor

data as a hash:

    {
      columns: [
        {
          name: "NameString", # required
          type: "ColumnTypeString",
          comment: "CommentString",
          parameters: {
            "KeyString" => "ParametersMapValue",
          },
        },
      ],
      location: "LocationString",
      input_format: "FormatString",
      output_format: "FormatString",
      compressed: false,
      number_of_buckets: 1,
      serde_info: {
        name: "NameString",
        serialization_library: "NameString",
        parameters: {
          "KeyString" => "ParametersMapValue",
        },
      },
      bucket_columns: ["NameString"],
      sort_columns: [
        {
          column: "NameString", # required
          sort_order: 1, # required
        },
      ],
      parameters: {
        "KeyString" => "ParametersMapValue",
      },
      skewed_info: {
        skewed_column_names: ["NameString"],
        skewed_column_values: ["ColumnValuesString"],
        skewed_column_value_location_maps: {
          "ColumnValuesString" => "ColumnValuesString",
        },
      },
      stored_as_sub_directories: false,
      schema_reference: {
        schema_id: {
          schema_arn: "GlueResourceArn",
          schema_name: "SchemaRegistryNameString",
          registry_name: "SchemaRegistryNameString",
        },
        schema_version_id: "SchemaVersionIdString",
        schema_version_number: 1,
      },
    }

@!attribute [rw] columns

A list of the `Columns` in the table.
@return [Array<Types::Column>]

@!attribute [rw] 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.
@return [String]

@!attribute [rw] input_format

The input format: `SequenceFileInputFormat` (binary), or
`TextInputFormat`, or a custom format.
@return [String]

@!attribute [rw] output_format

The output format: `SequenceFileOutputFormat` (binary), or
`IgnoreKeyTextOutputFormat`, or a custom format.
@return [String]

@!attribute [rw] compressed

`True` if the data in the table is compressed, or `False` if not.
@return [Boolean]

@!attribute [rw] number_of_buckets

Must be specified if the table contains any dimension columns.
@return [Integer]

@!attribute [rw] serde_info

The serialization/deserialization (SerDe) information.
@return [Types::SerDeInfo]

@!attribute [rw] bucket_columns

A list of reducer grouping columns, clustering columns, and
bucketing columns in the table.
@return [Array<String>]

@!attribute [rw] sort_columns

A list specifying the sort order of each bucket in the table.
@return [Array<Types::Order>]

@!attribute [rw] parameters

The user-supplied properties in key-value form.
@return [Hash<String,String>]

@!attribute [rw] skewed_info

The information about values that appear frequently in a column
(skewed values).
@return [Types::SkewedInfo]

@!attribute [rw] stored_as_sub_directories

`True` if the table data is stored in subdirectories, or `False` if
not.
@return [Boolean]

@!attribute [rw] schema_reference

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

When creating a table, you can pass an empty list of columns for the
schema, and instead use a schema reference.
@return [Types::SchemaReference]

@see docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StorageDescriptor AWS API Documentation

Constants

SENSITIVE