Commit 999d08d0 authored by 王志伟's avatar 王志伟

统计反作弊数据

parent 2ea2291d
...@@ -786,7 +786,7 @@ object bug_again_count { ...@@ -786,7 +786,7 @@ object bug_again_count {
val data_count = sc.sql( val data_count = sc.sql(
s""" s"""
|SELECT cl_id as device_id,count(cl_id) as open_num,sum(params['duration']) as time_all,sum(params['duration'])/count(cl_id) as avge_time |SELECT '${stat_date}' as stat_date,cl_id as device_id,count(cl_id) as open_num,sum(params['duration']) as time_all,sum(params['duration'])/count(cl_id) as avge_time
|from online.tl_hdfs_maidian_view |from online.tl_hdfs_maidian_view
|where partition_date='20190310' |where partition_date='20190310'
|and action ='on_app_session_over' |and action ='on_app_session_over'
......
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