Commit 63b616dd authored by 王志伟's avatar 王志伟

delete jerry_prod

parent d1454ea3
......@@ -66,12 +66,12 @@ object strategy_clk_imp_oldUser {
val clk_count = sc.sql(
s"""
|select '${stat_date}' as stat_date, count(cid_id) as get_clk_count
|from jerry_prod.data_feed_click jd inner join device_id_tmp1
|from data_feed_click jd inner join device_id_tmp1
|on jd.device_id = device_id_tmp1.decive_id_oldUser
|where (jd.cid_type = 'diary' or jd.cid_type = 'diary_video')
|and jd.device_id regexp'${strategy}'
|and jd.device_id not in (select device_id from jerry_test.bl_device_list)
|and jd.device_id not in (select device_id from jerry_prod.blacklist)
|and jd.device_id not in (select device_id from bl_device_list)
|and jd.device_id not in (select device_id from blacklist)
|and jd.stat_date ='${stat_date}'
""".stripMargin
)
......@@ -79,12 +79,12 @@ object strategy_clk_imp_oldUser {
val imp_count = sc.sql(
s"""
|select '${stat_date}' as stat_date, count(cid_id) as get_imp_count
|from jerry_prod.data_feed_exposure je inner join device_id_tmp1
|from data_feed_exposure je inner join device_id_tmp1
|on je.device_id = device_id_tmp1.decive_id_oldUser
|where je.cid_type = 'diary'
|and je.device_id regexp'${strategy}'
|and je.device_id not in (select device_id from jerry_test.bl_device_list)
|and je.device_id not in (select device_id from jerry_prod.blacklist)
|and je.device_id not in (select device_id from bl_device_list)
|and je.device_id not in (select device_id from blacklist)
|and je.stat_date ='${stat_date}'
""".stripMargin
)
......
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