Commit f3815cbc authored by 魏艺敏's avatar 魏艺敏

push codes

parent 4ec63b9c
......@@ -14,7 +14,7 @@ SET mapreduce.job.queuename=data;
USE pm;
--创建BL层内部表
CREATE TABLE IF NOT EXISTS pm.tl_pm_sign_deepaction_d
CREATE TABLE IF NOT EXISTS pm.tl_pm_sign_deepaction_d_v2
(
day_id string comment '{"chs_name":"当天日期","description":"","etl":"","value":"","remark":""}',
device_os_type string comment '{"chs_name":"设备类型","description":"","etl":"","value":"","remark":""}',
......
......@@ -13,7 +13,7 @@ CREATE TEMPORARY FUNCTION convup AS 'com.gmei.hive.common.udf.UDFConvUpgrade';
CREATE TEMPORARY FUNCTION setencryption AS 'com.gmei.hive.common.udf.UDFStringSetEncryption';
INSERT OVERWRITE TABLE pm.tl_pm_sign_deepaction_d PARTITION (PARTITION_DAY = ${partition_day})
INSERT OVERWRITE TABLE pm.tl_pm_sign_deepaction_d_v2 PARTITION (PARTITION_DAY = ${partition_day})
SELECT mas.partition_date as day_id
,device_os_type
,active_type
......
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