Commit 2d5fb44d authored by 王志伟's avatar 王志伟

修复bus

parent 0e597661
...@@ -82,7 +82,7 @@ object testt { ...@@ -82,7 +82,7 @@ object testt {
|where ou.partition_date = '${partition_date}' |where ou.partition_date = '${partition_date}'
|and ou.page_name='welfare_detail' |and ou.page_name='welfare_detail'
|and ou.referrer='diary_detail' |and ou.referrer='diary_detail'
|and agency_id.device_id is not null |and agency_id.device_id is null
|and ou.cl_id not in (select device_id from blacklist) |and ou.cl_id not in (select device_id from blacklist)
""".stripMargin """.stripMargin
) )
...@@ -97,7 +97,7 @@ object testt { ...@@ -97,7 +97,7 @@ object testt {
|where ov.action = 'on_click_diary_card' |where ov.action = 'on_click_diary_card'
|and ov.cl_id != "NULL" |and ov.cl_id != "NULL"
|and ov.partition_date='${partition_date}' |and ov.partition_date='${partition_date}'
|and agency_id.device_id is not null |and agency_id.device_id is null
|and ov.cl_id not in (select device_id from blacklist) |and ov.cl_id not in (select device_id from blacklist)
""".stripMargin """.stripMargin
) )
...@@ -112,7 +112,7 @@ object testt { ...@@ -112,7 +112,7 @@ object testt {
|where od.business_type = "diary" |where od.business_type = "diary"
|and od.cl_id != "NULL" |and od.cl_id != "NULL"
|and od.partition_date='${partition_date}' |and od.partition_date='${partition_date}'
|and agency_id.device_id is not null |and agency_id.device_id is null
|and od.cl_id not in (select device_id from blacklist) |and od.cl_id not in (select device_id from blacklist)
""".stripMargin """.stripMargin
) )
...@@ -126,7 +126,7 @@ object testt { ...@@ -126,7 +126,7 @@ object testt {
|on ov.cl_id = agency_id.device_id |on ov.cl_id = agency_id.device_id
|where (ov.action = 'do_search' or ov.action = 'search_result_click_search') |where (ov.action = 'do_search' or ov.action = 'search_result_click_search')
|and ov.partition_date ='${partition_date}' |and ov.partition_date ='${partition_date}'
|and agency_id.device_id is not null |and agency_id.device_id is null
|and ov.cl_id not in (select device_id from blacklist) |and ov.cl_id not in (select device_id from blacklist)
""".stripMargin """.stripMargin
) )
...@@ -140,7 +140,7 @@ object testt { ...@@ -140,7 +140,7 @@ object testt {
|from data_feed_exposure oe left join agency_id |from data_feed_exposure oe left join agency_id
|on oe.device_id = agency_id.device_id |on oe.device_id = agency_id.device_id
|and oe.stat_date ='${stat_date}' |and oe.stat_date ='${stat_date}'
|and agency_id.device_id is not null |and agency_id.device_id is null
|and oe.device_id not in (select device_id from blacklist) |and oe.device_id not in (select device_id from blacklist)
""".stripMargin """.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