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. |