common.schema.typing
C_DLT_ID
unique id of current row
C_DLT_LOAD_ID
load id to identify records loaded in a single load package
TColumnProp
All known properties of the column, including name, data type info and hints
TColumnHint
Known hints of a column
TColumnNames
A string representing a column name or a list of
TColumnSchemaBase Objects
class TColumnSchemaBase(TColumnType)
TypedDict that defines basic properties of a column: name, data type and nullable
TColumnSchema Objects
class TColumnSchema(TColumnSchemaBase)
TypedDict that defines additional column hints
TTableSchemaColumns
A mapping from column name to column schema, typically part of a table schema
TSchemaContractDict Objects
class TSchemaContractDict(TypedDict)
TypedDict defining the schema update settings
DEFAULT_VALIDITY_COLUMN_NAMES
Default values for validity column names used in scd2
merge strategy.
TTableReference Objects
class TTableReference(TypedDict)
Describes a reference to another table's columns.
columns
corresponds to the referenced_columns
in the referenced table and their order should match.
TTableSchema Objects
class TTableSchema(_TTableSchemaBase)
TypedDict that defines properties of a table
TColumnDefaultHint
Allows using not_null in default hints setting section
TStoredSchema Objects
class TStoredSchema(TypedDict)
TypeDict defining the schema representation in storage