Commit 68f34457 authored by 王志伟's avatar 王志伟

new files

parent 0c62cccd
...@@ -59,7 +59,7 @@ object find_bug { ...@@ -59,7 +59,7 @@ object find_bug {
val clk_count_all = sc.sql( val clk_count_all = sc.sql(
s""" s"""
|select stat_date,count(cid_id) as clk_count_all |select '${stat_date}' as stat_date,count(cid_id) as clk_count_all
|from data_feed_click |from data_feed_click
|where (cid_type = 'diary' or cid_type = 'diary_video') |where (cid_type = 'diary' or cid_type = 'diary_video')
|and device_id not in (select device_id from blacklist) |and device_id not in (select device_id from blacklist)
...@@ -69,7 +69,7 @@ object find_bug { ...@@ -69,7 +69,7 @@ object find_bug {
val imp_count_all = sc.sql( val imp_count_all = sc.sql(
s""" s"""
|select stat_date,count(cid_id) as imp_count_all |select '${stat_date}' as stat_date,count(cid_id) as imp_count_all
|from data_feed_exposure |from data_feed_exposure
|where cid_type = 'diary' |where cid_type = 'diary'
|and device_id not in (select device_id from blacklist) |and 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