Commit 10450e7f authored by 王志伟's avatar 王志伟

smart_rank 相关的统计指标

parent 77f1ab42
......@@ -699,10 +699,11 @@ object smart_rank_count {
val device_new_count = sc.sql(
s"""
|select device_id,first_city
|select partition_date,count(distinct(device_id))
|from online.ml_device_day_active_status
|where active_type != '4'
|partition_date='20181212'
|and partition_date='20181212'
|and first_city !='worldwide'
""".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