Commit 10a357a9 authored by 王志伟's avatar 王志伟

统计app

parent 9ff574c0
......@@ -902,7 +902,7 @@ object app_list_yunying {
| ,'TF-toufang5','tf-toufang1','tf-toufang2','tf-toufang3','tf-toufang4','tf-toufang5','benzhan','promotion_aso100'
| ,'promotion_qianka','promotion_xiaoyu','promotion_dianru','promotion_malioaso','promotion_malioaso-shequ'
| ,'promotion_shike','promotion_julang_jl03','','unknown','promotion_zuimei')
|and partition_date ='20190531'
|and partition_date ='20190430'
""".stripMargin
)
device_id_newUser.createOrReplaceTempView("device_id_new")
......@@ -917,7 +917,8 @@ object app_list_yunying {
| params['installed_app_info'] as app_list,
| row_number() over (partition by cl_id order by time_stamp desc) as pk
| from online.tl_hdfs_maidian_view
|where partition_date >='20190501'
|where partition_date <'20190501'
| and partition_date >='20190401'
| and action = 'user_installed_all_app_info'
| and cl_type='android'
| ) a
......
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