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

smart_rank 相关的统计指标

parent 420d1854
......@@ -653,7 +653,7 @@ object smart_rank_count {
val meigou_pv_count = sc.sql(
s"""
|select meigou_city,count(device_id) as meigou_pv,count(distinct(device_id)) as meigou_device_num,
|select meigou_city,count(device_id) as meigou_pv,count(distinct(device_id)) as meigou_device_num
|from meigou_pv_tongcheng
|where device_city=meigou_city
|group by meigou_city
......@@ -662,7 +662,7 @@ object smart_rank_count {
meigou_pv_count.show()
//开始计算咨询
// val zixun_meigou_view = sc.sql(
// s"""
// |select cl_id as device_id,city_id as device_city,params['service_id'] as meigou_id
......
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