Commit 5ebbee89 authored by 王志伟's avatar 王志伟

计算多天的推荐重复问题

parent 4637e2bc
...@@ -312,7 +312,7 @@ object Repeated_content_recommendation_moreday { ...@@ -312,7 +312,7 @@ object Repeated_content_recommendation_moreday {
val exp_diary = sc.sql( val exp_diary = sc.sql(
s""" s"""
|select stat_date,device_id,group_concat(distinct cid_id SEPARATOR ',') |select stat_date,device_id,group_concat(distinct cid_id)
|from data_feed_exposure_precise |from data_feed_exposure_precise
|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