Commit cf9b8f6a authored by 高雅喆's avatar 高雅喆

pre data from data_feed_click to data_feed_exposure

parent 5ca8135e
...@@ -310,7 +310,7 @@ object EsmmPredData { ...@@ -310,7 +310,7 @@ object EsmmPredData {
// native_data // native_data
val native_data = sc.sql( val native_data = sc.sql(
s""" s"""
|select distinct a.device_id,a.city_id,b.native_queue from data_feed_click a |select distinct a.device_id,a.city_id,b.native_queue from data_feed_exposure a
|left join (select if(city_id='world','worldwide',city_id) city_id,native_queue from biz_feed_diary_queue) b |left join (select if(city_id='world','worldwide',city_id) city_id,native_queue from biz_feed_diary_queue) b
|on a.city_id = b.city_id |on a.city_id = b.city_id
|where a.stat_date='${yesteday_have_seq}' and b.native_queue != "" |where a.stat_date='${yesteday_have_seq}' and b.native_queue != ""
......
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