Skip to content

_column_hash

Internal helper
This page documents an internal implementation helper, not a primary public API.
Source code in src/fabricops_kit/drift.py
89
90
91
def _column_hash(column_name: str, ordinal_position: int, data_type: str, nullable: bool) -> str:
    payload = f"{column_name}|{ordinal_position}|{data_type}|{nullable}"
    return hashlib.sha256(payload.encode("utf-8")).hexdigest()