Commit dbe1855b authored by 王志伟's avatar 王志伟

根据on_click_diary_card计算ctr

parent ceaacdf8
...@@ -630,7 +630,7 @@ object diary_clk_card { ...@@ -630,7 +630,7 @@ object diary_clk_card {
val imp_count_newUser_Contrast = sc.sql( val imp_count_newUser_Contrast = sc.sql(
s""" s"""
|select '${stat_date}' as stat_date, count(cid_id) as imp_count_oldUser_Contrast |select '${stat_date}' as stat_date, count(cid_id) as imp_count_newUser_Contrast
|from data_feed_exposure je inner join device_id_new |from data_feed_exposure je inner join device_id_new
|on je.device_id = device_id_new.device_id |on je.device_id = device_id_new.device_id
|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