Commit 840f3693 authored by 王志伟's avatar 王志伟

修改统计参数

parent c84cd635
......@@ -250,7 +250,7 @@ object coincidence_xinyang {
""".stripMargin
)
//获取每月活跃用户中与新氧用户重合用户占比
/* //获取每月活跃用户中与新氧用户重合用户占比
//1.0 每月活跃中与新氧用户重合用户数
val month_day=pre_monthday.replace("-","")
val month_coincidence = sc.sql(
......@@ -271,12 +271,10 @@ object coincidence_xinyang {
|and cl_id not in (select device_id from blacklist)
""".stripMargin
)
*/
val result = yesterday_coincidence.join(yesterday_expoure_num,"stat_date")
.join(week_coincidence,"stat_date")
.join(week_expoure_num,"stat_date")
.join(month_coincidence,"stat_date")
.join(month_expoure_num,"stat_date")
GmeiConfig.writeToJDBCTable(result, "coincidence_xinyang", SaveMode.Append)
......
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