Skip to content

SchemaMutation

SchemaMutation

SchemaMutation is a dataclass with attributes for inspecting schema mutations.

pyspark_regression.SchemaMutation dataclass

Source code in src/pyspark_regression/main.py
@dataclass(frozen=True)
class SchemaMutation:
    column_name: str
    "Name of the column"
    attribute: str
    "Column attribute defined in DataFrame ([DDL](https://en.wikipedia.org/wiki/Data_definition_language))"
    value_old: str
    "Value in df_old"
    value_new: str
    "Value in df_new"

attribute instance-attribute

Column attribute defined in DataFrame (DDL)

column_name instance-attribute

Name of the column

value_new instance-attribute

Value in df_new

value_old instance-attribute

Value in df_old