Class TableColumn (0.8.1)

TableColumn(
    name: str,
    type: str,
    is_null: bool = True,
    vector_length: typing.Optional[int] = None,
)

Represents column configuration, to be used as part of create DDL statement for table creation.

Attributes

Name Description
column_name :noindex: str
The name of the column.
type :noindex: str
The type of the column.
is_null :noindex: bool
Indicates whether the column allows null values.
vector_length Optional :noindex: int
for ANN, mandatory and must be >=1 for the embedding column.