Commit 10dfc2b7 authored by 王志伟's avatar 王志伟

repair bug

parent d1599f00
...@@ -71,6 +71,7 @@ object strategy_other { ...@@ -71,6 +71,7 @@ object strategy_other {
|and partition_date ='${partition_date}' |and partition_date ='${partition_date}'
""".stripMargin """.stripMargin
) )
devicee_id_oldUser.show()
devicee_id_oldUser.createOrReplaceTempView("device_id_old") devicee_id_oldUser.createOrReplaceTempView("device_id_old")
//device_id尾号1有点击用户日记本点击数 //device_id尾号1有点击用户日记本点击数
...@@ -94,7 +95,6 @@ object strategy_other { ...@@ -94,7 +95,6 @@ object strategy_other {
|from data_feed_exposure je inner join device_id_old |from data_feed_exposure je inner join device_id_old
|on je.device_id = device_id_old.device_id |on je.device_id = device_id_old.device_id
|where je.cid_type = 'diary' |where je.cid_type = 'diary'
|and je.device_id regexp'1$$'
|and je.device_id in (select distinct(device_id) from data_feed_click where device_id regexp '1$$' and stat_date = '${param.date}') |and je.device_id in (select distinct(device_id) from data_feed_click where device_id regexp '1$$' and stat_date = '${param.date}')
|and je.device_id not in (select device_id from bl_device_list) |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.device_id not in (select device_id from blacklist)
......
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