Commit 8178e56b authored by 王志伟's avatar 王志伟

新用户去掉用户黑名单

parent bbd7d370
...@@ -773,17 +773,17 @@ object find_reason { ...@@ -773,17 +773,17 @@ object find_reason {
val result = diary_meigou_newUser.join(diary_meigou_oldUser,"stat_date") // val result = diary_meigou_newUser.join(diary_meigou_oldUser,"stat_date")
.join(diary_clk_newUser,"stat_date") // .join(diary_clk_newUser,"stat_date")
.join(diary_clk_oldUser,"stat_date") // .join(diary_clk_oldUser,"stat_date")
.join(diary_exp_newUser,"stat_date") // .join(diary_exp_newUser,"stat_date")
.join(diary_exp_oldUser,"stat_date") // .join(diary_exp_oldUser,"stat_date")
.join(search_newUser,"stat_date") // .join(search_newUser,"stat_date")
.join(search_oldUser,"stat_date") // .join(search_oldUser,"stat_date")
.join(log_newUser,"stat_date") // .join(log_newUser,"stat_date")
.join(log_oldUser,"stat_date") // .join(log_oldUser,"stat_date")
//
GmeiConfig.writeToJDBCTable(result, "diary_meigou_crv", SaveMode.Append) // GmeiConfig.writeToJDBCTable(result, "diary_meigou_crv", SaveMode.Append)
} }
......
...@@ -83,6 +83,7 @@ object testt { ...@@ -83,6 +83,7 @@ object testt {
s""" s"""
|select distinct(os.device_id) as device_id |select distinct(os.device_id) as device_id
|from online.ml_device_day_active_status os left join blacklist |from online.ml_device_day_active_status os left join blacklist
|on os.device_id=blacklist.device_id
|where os.active_type != '4' |where os.active_type != '4'
|and os.first_channel_source_type not in ('yqxiu1','yqxiu2','yqxiu3','yqxiu4','yqxiu5','mxyc1','mxyc2','mxyc3' |and os.first_channel_source_type not in ('yqxiu1','yqxiu2','yqxiu3','yqxiu4','yqxiu5','mxyc1','mxyc2','mxyc3'
| ,'wanpu','jinshan','jx','maimai','zhuoyi','huatian','suopingjingling','mocha','mizhe','meika','lamabang' | ,'wanpu','jinshan','jx','maimai','zhuoyi','huatian','suopingjingling','mocha','mizhe','meika','lamabang'
......
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