replacement
etl_craft.dialects.warehouse.replacement ¶
Preserve warehouse-provided table properties during atomic CTAS or identity clone publication.
replacement_ddl ¶
Keep table properties; refuse column metadata that CTAS cannot carry forward.
identity_replacement ¶
identity_replacement(ddl: str, target: str, candidate: str, columns: str, dialect: str) -> tuple[str, str]
Carry table properties into an identity candidate and publish it with an atomic clone.
The candidate uses independent managed storage. Only publication writes the original external location. Only the managed identity and collations inherited from the preserved table default are accepted; other column constraints are refused.