Commit a2e996fb by mengdongxing

Update tkdm_data_active_detial_day.sql

parent 351f1d7e
insert overwrite table tkdm.tkdm_data_active_detial_day partition(ds='2017-02-26')
insert overwrite table tkdm.tkdm_data_active_summary_day partition(ds='2017-02-26')
select /*+ mapjoin(b) */ a.appid,
a.cid,
......@@ -33,7 +33,7 @@ join
create EXTERNAL table tkdm_data_active_detial_day(
create EXTERNAL table tkdm_data_active_summary_day(
appid string,
cid int,
dupnum_click_all int,
......@@ -46,5 +46,5 @@ isgame int
PARTITIONED BY (ds string)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\t'
location 's3://reyuntkio/warehouse/tkio/tkdm.db/tkdm_data_active_detial_day'
location 's3://reyuntkio/warehouse/tkio/tkdm.db/tkdm_data_active_summary_day'
;
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