GlueTableSettings

class awswrangler.typing.GlueTableSettings

Bases: TypedDict

Typed dictionary defining the settings for the Glue table.

Attributes

table_type

The type of the Glue Table.

description

Table description

parameters

Key/value pairs to tag the table.

columns_comments

Columns names and the related comments (e.g. {'col0': 'Column 0.', 'col1': 'Column 1.', 'col2': 'Partition.'}).

regular_partitions

Create regular partitions (Non projected partitions) on Glue Catalog.

Attributes Documentation

table_type: NotRequired[Literal['EXTERNAL_TABLE']]

The type of the Glue Table. Set to EXTERNAL_TABLE if None.

description: NotRequired[str]

Table description

Type:

Glue/Athena catalog

parameters: NotRequired[dict[str, str]]

Key/value pairs to tag the table.

Type:

Glue/Athena catalog

columns_comments: NotRequired[dict[str, str]]

Columns names and the related comments (e.g. {‘col0’: ‘Column 0.’, ‘col1’: ‘Column 1.’, ‘col2’: ‘Partition.’}).

regular_partitions: NotRequired[bool]

Create regular partitions (Non projected partitions) on Glue Catalog. Disable when you will work only with Partition Projection. Keep enabled even when working with projections is useful to keep Redshift Spectrum working with the regular partitions.