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

修改统计参数

parent afcefb4a
...@@ -103,6 +103,7 @@ object app_list { ...@@ -103,6 +103,7 @@ object app_list {
|where action="user_installed_all_app_info" |where action="user_installed_all_app_info"
|and partition_date = '${partition_date}' |and partition_date = '${partition_date}'
|and agency_id.device_id is null |and agency_id.device_id is null
|and and cl_id not in (select distinct(device_id) from blacklist)
""".stripMargin """.stripMargin
) )
//app_list.show() //app_list.show()
...@@ -117,7 +118,6 @@ object app_list { ...@@ -117,7 +118,6 @@ object app_list {
s""" s"""
|select * |select *
|from device_id |from device_id
|and device_id not in (select device_id from blacklist)
""".stripMargin """.stripMargin
) )
val tempp=temp.withColumn("stat_date",addCol(temp("device_id"))) val tempp=temp.withColumn("stat_date",addCol(temp("device_id")))
......
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