document DWS hierarchy table DDL

This commit is contained in:
2026-08-20 19:07:17 +08:00
parent 33e60d02e3
commit b0d5f812ad
2 changed files with 16 additions and 0 deletions
@@ -10,6 +10,14 @@
-- Notes : Parent-code matching is preserved from the legacy script.
-- =============================================================================
-- COMMAND ----------
-- One-time DDL: copy the verified legacy schema without copying data.
-- CREATE TABLE IF NOT EXISTS dws.dws_ext_td_ims_atc_hierarchy
-- LIKE dwd.dwd_ims_atc_hierarchy;
-- COMMAND ----------
INSERT OVERWRITE TABLE dws.dws_ext_td_ims_atc_hierarchy (
ATC1_ID,
ATC1_CODE,
@@ -10,6 +10,14 @@
-- Notes : Parent-code matching is preserved from the legacy script.
-- =============================================================================
-- COMMAND ----------
-- One-time DDL: copy the verified legacy schema without copying data.
-- CREATE TABLE IF NOT EXISTS dws.dws_ext_td_ims_nfc_hierarchy
-- LIKE dwd.dwd_ims_nfc_hierarchy;
-- COMMAND ----------
INSERT OVERWRITE TABLE dws.dws_ext_td_ims_nfc_hierarchy (
NFC1_ID,
NFC1_CODE,