Commit 6fd14a1c authored by 王志伟's avatar 王志伟

chang new user

parent 645db8b2
...@@ -66,7 +66,7 @@ object strategy_clk_imp_oldUser { ...@@ -66,7 +66,7 @@ object strategy_clk_imp_oldUser {
s""" s"""
|select distinct(device_id) as decive_id_newUser |select distinct(device_id) as decive_id_newUser
|from online.ml_device_day_active_status |from online.ml_device_day_active_status
|where active_type = '[1|2|3]' |where active_type != '4'
|and partition_date ='${partition_date}' |and partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
...@@ -117,7 +117,7 @@ object strategy_clk_imp_oldUser { ...@@ -117,7 +117,7 @@ object strategy_clk_imp_oldUser {
val imp_count_newUser = sc.sql( val imp_count_newUser = sc.sql(
s""" s"""
|select '${stat_date}' as stat_date, count(cid_id) as get_imp_count |select '${stat_date}' as stat_date, count(cid_id) as get_imp_count_newUser
|from data_feed_exposure je inner join device_id_newUser |from data_feed_exposure je inner join device_id_newUser
|on je.device_id = device_id_newUser.decive_id_newUser |on je.device_id = device_id_newUser.decive_id_newUser
|where je.cid_type = 'diary' |where je.cid_type = 'diary'
......
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