GlueTableSettings¶
- class awswrangler.typing.GlueTableSettings¶
Bases:
TypedDict
Typed dictionary defining the settings for the Glue table.
Attributes
The type of the Glue Table.
Table description
Key/value pairs to tag the table.
Columns names and the related comments (e.g.
Columns names and the related parameters (e.g.
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.’}).
-
columns_parameters:
NotRequired
[dict
[str
,dict
[str
,str
]]]¶ Columns names and the related parameters (e.g. {‘col0’: {‘par0’: ‘Param 0’, ‘par1’: ‘Param 1’}}).
-
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.
-
table_type: