Add EXTERNAL SQL scripts

This commit is contained in:
2026-04-20 14:55:25 +08:00
parent c05ba7ec7e
commit b4979eed82
344 changed files with 61619 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
-- Databricks notebook source
insert overwrite dm.dm_td_external_keycompatitor (
RNK,
BRAND_NAME,
BRAND_CODE,
IMSBRAND,
CompatitorCN,
CLASS,
CompatitorEN,
CORP,
Market,
VBP,
ValueType,
MARKETDESC,
Strategicbrand,
TA,
DEFAULTFLAG,
CompatitorMarket,
CompatitorType,
DATA_SOURCE
)
select
RNK,
BRAND_NAME,
BRAND_CODE,
IMSBRAND,
competitorcn,
CLASS,
competitoren,
CORP,
Market,
VBP,
ValueType,
MARKETDESC,
Strategicbrand,
TA,
int(DEFAULTFLAG),
competitormarket,
competitortype,
DATA_SOURCE
from
dwd.dwd_gnd_ims_compete_product_config