Commit 719cd0c6 authored by 王志伟's avatar 王志伟

统计运维想要数据

parent cfafab78
......@@ -910,12 +910,13 @@ object app_list_yunying {
val app_list = sc.sql(
s"""
|select '${stat_date}' as stat_date,a.params['installed_app_info'] as app_list
|select '${stat_date}' as stat_date,channel,a.params['installed_app_info'] as app_list
|from online.tl_hdfs_maidian_view a
|inner join device_id_new b
|on a.cl_id=b.device_id
|where a.partition_date ='${partition_date}'
|and a.action='user_installed_all_app_info'
|and a.cl_type='android'
""".stripMargin
)
app_list.show()
......
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