polars.catalog.unity.TableInfo#

class polars.catalog.unity.TableInfo(
name: str,
comment: str | None,
table_id: str,
table_type: TableType,
storage_location: str | None,
data_source_format: DataSourceFormat | None,
columns: list[ColumnInfo] | None,
properties: dict[str, str],
created_at: datetime | None,
created_by: str | None,
updated_at: datetime | None,
updated_by: str | None,
)[source]#

Information for a catalog table.

__init__(
name: str,
comment: str | None,
table_id: str,
table_type: TableType,
storage_location: str | None,
data_source_format: DataSourceFormat | None,
columns: list[ColumnInfo] | None,
properties: dict[str, str],
created_at: datetime | None,
created_by: str | None,
updated_at: datetime | None,
updated_by: str | None,
) None[source]#

Methods

__init__(name, comment, table_id, ...)

get_polars_schema()

Get the native polars schema of this table.

Attributes

name

comment

table_id

table_type

storage_location

data_source_format

columns

properties

created_at

created_by

updated_at

updated_by