# Class ColumnEntity (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    ColumnEntity(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Column is not used as an independent entity, it is retrieved
as part of a Table entity.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Column name. |
| `data_type` | `str` Column data type. |
| `charset` | `str` Charset override - instead of table level charset. |
| `collation` | `str` Collation override - instead of table level collation. |
| `length` | `int` Column length - e.g. varchar (50). |
| `precision` | `int` Column precision - when relevant. |
| `scale` | `int` Column scale - when relevant. |
| `fractional_seconds_precision` | `int` Column fractional second precision - used for timestamp based datatypes. |
| `array` | `bool` Is the column of array type. |
| `array_length` | `int` If the column is array, of which length. |
| `nullable` | `bool` Is the column nullable. |
| `auto_generated` | `bool` Is the column auto-generated/identity. |
| `udt` | `bool` Is the column a UDT. |
| `custom_features` | `google.protobuf.struct_pb2.Struct` Custom engine specific features. |
| `set_values` | `MutableSequence[str]` Specifies the list of values allowed in the column. Only used for set data type. |
| `comment` | `str` Comment associated with the column. |
| `ordinal_position` | `int` Column order in the table. |
| `default_value` | `str` Default value of the column. |