polars.catalog.unity.ColumnInfo#

class polars.catalog.unity.ColumnInfo(
name: str,
type_name: str,
type_text: str,
type_json: str,
position: int | None,
comment: str | None,
partition_index: int | None,
)[source]#

Information for a column within a catalog table.

__init__(
name: str,
type_name: str,
type_text: str,
type_json: str,
position: int | None,
comment: str | None,
partition_index: int | None,
) None[source]#

Methods

__init__(name, type_name, type_text, ...)

get_polars_dtype()

Get the native polars datatype of this column.

Attributes

name

type_name

type_text

type_json

position

comment

partition_index