Commit eb911376 authored by 王志伟's avatar 王志伟

smart_rank 相关的统计指标

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