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

修改统计参数

parent ed51236d
......@@ -325,7 +325,7 @@ object coincidence_xinyang {
//1.重合用户的美购数
val meigou_coincidence_num = sc.sql(
s"""
|select count(ov.service_id) as meigou_coincidence_num
|select count(ov.device_id) as meigou_coincidence_num
|from online.ml_meigou_order_detail ov left join coincidence_id
|on ov.device_id = coincidence_id.device_id
|where partition_date = '20181120'
......@@ -340,7 +340,7 @@ object coincidence_xinyang {
//2.重合用户进行美购的用户数
val meigou_pay_device = sc.sql(
s"""
|select count(distinct(ov.service_id)) as meigou_coincidence_num
|select count(distinct(ov.device_id)) as meigou_coincidence_num
|from online.ml_meigou_order_detail ov left join coincidence_id
|on ov.device_id = coincidence_id.device_id
|where partition_date = '20181120'
......
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