snowflake.core.table.Table

class snowflake.core.table.Table(name: str, kind: str | None = None, cluster_by: List[str] | None = None, enable_schema_evolution: bool | None = None, change_tracking: bool | None = None, data_retention_time_in_days: int | None = None, max_data_extension_time_in_days: int | None = None, default_ddl_collation: str | None = None, columns: List[TableColumnModel] | None = None, constraints: List[ConstraintModel] | None = None, comment: str | None = None, created_on: datetime | None = None, database_name: str | None = None, schema_name: str | None = None, rows: int | None = None, bytes: int | None = None, owner: str | None = None, dropped_on: datetime | None = None, automatic_clustering: bool | None = None, search_optimization: bool | None = None, search_optimization_progress: float | None = None, search_optimization_bytes: int | None = None, owner_role_type: str | None = None)

Bases: object

Methods

__init__(name: str, kind: str | None = None, cluster_by: List[str] | None = None, enable_schema_evolution: bool | None = None, change_tracking: bool | None = None, data_retention_time_in_days: int | None = None, max_data_extension_time_in_days: int | None = None, default_ddl_collation: str | None = None, columns: List[TableColumnModel] | None = None, constraints: List[ConstraintModel] | None = None, comment: str | None = None, created_on: datetime | None = None, database_name: str | None = None, schema_name: str | None = None, rows: int | None = None, bytes: int | None = None, owner: str | None = None, dropped_on: datetime | None = None, automatic_clustering: bool | None = None, search_optimization: bool | None = None, search_optimization_progress: float | None = None, search_optimization_bytes: int | None = None, owner_role_type: str | None = None)
classmethod from_dict(obj: dict) TableModel

Create an instance of Table from a dict

to_dict()

Returns the dictionary representation of the model using alias