SchemaDriftConfig

class oci.data_integration.models.SchemaDriftConfig(**kwargs)

Bases: object

The configuration for handling schema drift in a Source or Target operator.

Attributes

DATA_TYPE_CHANGE_HANDLING_ALLOW A constant which can be used with the data_type_change_handling property of a SchemaDriftConfig.
DATA_TYPE_CHANGE_HANDLING_DO_CAST_IF_POSSIBLE A constant which can be used with the data_type_change_handling property of a SchemaDriftConfig.
DATA_TYPE_CHANGE_HANDLING_DO_NOT_ALLOW A constant which can be used with the data_type_change_handling property of a SchemaDriftConfig.
EXTRA_COLUMN_HANDLING_ALLOW A constant which can be used with the extra_column_handling property of a SchemaDriftConfig.
EXTRA_COLUMN_HANDLING_DO_NOT_ALLOW A constant which can be used with the extra_column_handling property of a SchemaDriftConfig.
EXTRA_COLUMN_HANDLING_NULL_FILLUP A constant which can be used with the extra_column_handling property of a SchemaDriftConfig.
MISSING_COLUMN_HANDLING_ALLOW A constant which can be used with the missing_column_handling property of a SchemaDriftConfig.
MISSING_COLUMN_HANDLING_DO_NOT_ALLOW A constant which can be used with the missing_column_handling property of a SchemaDriftConfig.
MISSING_COLUMN_HANDLING_NULL_SELECT A constant which can be used with the missing_column_handling property of a SchemaDriftConfig.
data_type_change_handling Gets the data_type_change_handling of this SchemaDriftConfig.
extra_column_handling Gets the extra_column_handling of this SchemaDriftConfig.
is_validation_warning_if_allowed Gets the is_validation_warning_if_allowed of this SchemaDriftConfig.
missing_column_handling Gets the missing_column_handling of this SchemaDriftConfig.

Methods

__init__(**kwargs) Initializes a new SchemaDriftConfig object with values from keyword arguments.
DATA_TYPE_CHANGE_HANDLING_ALLOW = 'ALLOW'

A constant which can be used with the data_type_change_handling property of a SchemaDriftConfig. This constant has a value of “ALLOW”

DATA_TYPE_CHANGE_HANDLING_DO_CAST_IF_POSSIBLE = 'DO_CAST_IF_POSSIBLE'

A constant which can be used with the data_type_change_handling property of a SchemaDriftConfig. This constant has a value of “DO_CAST_IF_POSSIBLE”

DATA_TYPE_CHANGE_HANDLING_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the data_type_change_handling property of a SchemaDriftConfig. This constant has a value of “DO_NOT_ALLOW”

EXTRA_COLUMN_HANDLING_ALLOW = 'ALLOW'

A constant which can be used with the extra_column_handling property of a SchemaDriftConfig. This constant has a value of “ALLOW”

EXTRA_COLUMN_HANDLING_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the extra_column_handling property of a SchemaDriftConfig. This constant has a value of “DO_NOT_ALLOW”

EXTRA_COLUMN_HANDLING_NULL_FILLUP = 'NULL_FILLUP'

A constant which can be used with the extra_column_handling property of a SchemaDriftConfig. This constant has a value of “NULL_FILLUP”

MISSING_COLUMN_HANDLING_ALLOW = 'ALLOW'

A constant which can be used with the missing_column_handling property of a SchemaDriftConfig. This constant has a value of “ALLOW”

MISSING_COLUMN_HANDLING_DO_NOT_ALLOW = 'DO_NOT_ALLOW'

A constant which can be used with the missing_column_handling property of a SchemaDriftConfig. This constant has a value of “DO_NOT_ALLOW”

MISSING_COLUMN_HANDLING_NULL_SELECT = 'NULL_SELECT'

A constant which can be used with the missing_column_handling property of a SchemaDriftConfig. This constant has a value of “NULL_SELECT”

__init__(**kwargs)

Initializes a new SchemaDriftConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • extra_column_handling (str) – The value to assign to the extra_column_handling property of this SchemaDriftConfig. Allowed values for this property are: “ALLOW”, “NULL_FILLUP”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • missing_column_handling (str) – The value to assign to the missing_column_handling property of this SchemaDriftConfig. Allowed values for this property are: “ALLOW”, “NULL_SELECT”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • data_type_change_handling (str) – The value to assign to the data_type_change_handling property of this SchemaDriftConfig. Allowed values for this property are: “ALLOW”, “DO_CAST_IF_POSSIBLE”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_validation_warning_if_allowed (bool) – The value to assign to the is_validation_warning_if_allowed property of this SchemaDriftConfig.
data_type_change_handling

Gets the data_type_change_handling of this SchemaDriftConfig. The setting for how to handle columns/fields with changed data types.

Allowed values for this property are: “ALLOW”, “DO_CAST_IF_POSSIBLE”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The data_type_change_handling of this SchemaDriftConfig.
Return type:str
extra_column_handling

Gets the extra_column_handling of this SchemaDriftConfig. The setting for how to handle extra columns/fields. NULL_FILLUP means that nulls will be loaded into the target for extra columns.

Allowed values for this property are: “ALLOW”, “NULL_FILLUP”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The extra_column_handling of this SchemaDriftConfig.
Return type:str
is_validation_warning_if_allowed

Gets the is_validation_warning_if_allowed of this SchemaDriftConfig. If true, display a validation warning for schema changes, even if they are allowed.

Returns:The is_validation_warning_if_allowed of this SchemaDriftConfig.
Return type:bool
missing_column_handling

Gets the missing_column_handling of this SchemaDriftConfig. The setting for how to handle missing columns/fields. NULL_SELECT means that null values will be selected from the source for missing columns.

Allowed values for this property are: “ALLOW”, “NULL_SELECT”, “DO_NOT_ALLOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The missing_column_handling of this SchemaDriftConfig.
Return type:str