Skip to main content
Version: 1.0.0

AWSGlue

class AWSGlue(
definition: dict,
tables: str | List[str],
auto_create_at: List[str | None] | str | NoneType = None,
if_table_exists: Literal['append', 'replace'] = 'append',
partitioned_table: bool = False,
schema_strategy: Literal['update', 'strict'] = 'update',
s3_credentials: dict | S3Credentials = None,
s3_region: str = None,
**kwargs,
)

Bases: Catalog

Categories: configuration

Properties

property
auto_create_atList[str | None]

property
definitiondict

property
if_table_existsLiteral['append', 'replace']

str: The strategy to follow when the table already exists.

property
partitioned_tablebool

Whether the table is partitioned or not.

property
s3_credentialsS3Credentials | None

property
s3_regionstr | None

str: The region where the S3 bucket is located.

property
schema_strategyLiteral['update', 'strict']

str: The strategy to follow when appending to a table with an existing schema.

property
tablesList[str]

Methods

to_dict
def to_dict() -> dict