Commit 7542f649 authored by 魏艺敏's avatar 魏艺敏

update codes

parent 2aa894f3
......@@ -88,4 +88,4 @@ SELECT
,per_article_pv AS `专栏PV/专栏UV`
,article_stay AS `专栏单设备时长(m)`
FROM pm.tl_pm_content_d
where partition_day='${partition_day}'
where partition_day=regexp_replace((current_date - interval '1' day),'-','')
INSERT OVERWRITE TABLE tl_pm_content_d PARTITION (PARTITION_DAY = '${partition_day}')
INSERT OVERWRITE TABLE tl_pm_content_d PARTITION (PARTITION_DAY = regexp_replace((current_date - interval '1' day),'-',''))
SELECT
......
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