Commit 0c008814 authored by litaolemo's avatar litaolemo

update

parent d48639dd
......@@ -112,7 +112,7 @@ left join
FROM ML.ML_C_CT_DV_DEVICE_DIMEN_D T
WHERE T.PARTITION_DAY = '{partition_day}'
AND T.ACTIVE_TYPE IN ('1', '2', '4'))
D on T.DEVICE_ID = D.DEVICE_ID
D on C.DEVICE_ID = D.DEVICE_ID
LEFT JOIN
(
SELECT DISTINCT device_id
......
......@@ -112,7 +112,7 @@ left join
FROM ML.ML_C_CT_DV_DEVICE_DIMEN_D T
WHERE T.PARTITION_DAY = '{partition_day}'
AND T.ACTIVE_TYPE IN ('1', '2', '4'))
D on T.DEVICE_ID = D.DEVICE_ID
D on C.DEVICE_ID = D.DEVICE_ID
LEFT JOIN
(
SELECT DISTINCT device_id
......
......@@ -111,7 +111,7 @@ left join
FROM ML.ML_C_CT_DV_DEVICE_DIMEN_D T
WHERE T.PARTITION_DAY = '{partition_day}'
AND T.ACTIVE_TYPE IN ('1', '2', '4'))
D on T.DEVICE_ID = D.DEVICE_ID
D on C.DEVICE_ID = D.DEVICE_ID
LEFT JOIN
(
SELECT DISTINCT device_id
......@@ -122,7 +122,7 @@ left join
SELECT DISTINCT device_id
FROM dim.dim_device_user_staff --去除内网用户
)spam_pv
on spam_pv.device_id=T.DEVICE_ID
on T.DEVICE_ID=spam_pv.device_id
LEFT JOIN
(
SELECT partition_date,device_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment