Builds the ALTER TABLE ... MODIFY COLUMN statements needed to bring a target
table's drifted columns to their desired column type, while preserving each column's
existing nullability on the target (see get_column_type_drift for why
nullability is never tightened to match the source). Pure string-building function with
no database access, given the output of get_column_type_drift.
Arguments
- drift,
a dataframe as returned by
get_column_type_drift- target_table,
the name of the table the generated statements will alter