xiehe2026修改

This commit is contained in:
2026-05-21 06:21:33 +00:00
parent 31a612a902
commit b03b08af7b
2 changed files with 12 additions and 3 deletions

View File

@@ -231,6 +231,15 @@ WHERE T2.MARKET IS NOT NULL;
-- COMMAND ----------
--
MERGE INTO DM.DM_TD_EXT_XIEHE_PACK2MARKET AS target
USING dwd.dwd_gnd_ims_hidden_market AS source
ON UPPER(target.market) = UPPER(source.hidden_market)
AND source.data_source = '科室市场'
WHEN MATCHED THEN DELETE;
-- COMMAND ----------
INSERT OVERWRITE TABLE DM.DM_TD_EXT_xiehe_PACK2MARKET_KEYCOMPETITOR
WITH kc AS (
SELECT