# Class SingleColumnChange (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

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

Options to configure rule type SingleColumnChange.
The rule is used to change the properties of a column.

The rule filter field can refer to one entity.

The rule scope can be one of: Column.

When using this rule, if a field is not specified than the
destination column's configuration will be the same as the one
in the source column..

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `data_type` | `str` Optional. Column data type name. |
| `charset` | `str` Optional. Charset override - instead of table level charset. |
| `collation` | `str` Optional. Collation override - instead of table level collation. |
| `length` | `int` Optional. Column length - e.g. 50 as in varchar (50) - when relevant. |
| `precision` | `int` Optional. Column precision - e.g. 8 as in double (8,2) - when relevant. |
| `scale` | `int` Optional. Column scale - e.g. 2 as in double (8,2) - when relevant. |
| `fractional_seconds_precision` | `int` Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant. |
| `array` | `bool` Optional. Is the column of array type. |
| `array_length` | `int` Optional. The length of the array, only relevant if the column type is an array. |
| `nullable` | `bool` Optional. Is the column nullable. |
| `auto_generated` | `bool` Optional. Is the column auto-generated/identity. |
| `udt` | `bool` Optional. Is the column a UDT (User-defined Type). |
| `custom_features` | `google.protobuf.struct_pb2.Struct` Optional. Custom engine specific features. |
| `set_values` | `MutableSequence[str]` Optional. Specifies the list of values allowed in the column. |
| `comment` | `str` Optional. Comment associated with the column. |