Commit 3a2ce602 authored by 王志伟's avatar 王志伟

有交易用户应用列表

parent 24bdf8a0
...@@ -89,6 +89,7 @@ object app_list { ...@@ -89,6 +89,7 @@ object app_list {
|AND pv_ratio >= 0.95 |AND pv_ratio >= 0.95
""".stripMargin """.stripMargin
) )
agency_id.show()
agency_id.createOrReplaceTempView("agency_id") agency_id.createOrReplaceTempView("agency_id")
...@@ -163,7 +164,7 @@ object app_list { ...@@ -163,7 +164,7 @@ object app_list {
|from online.tl_hdfs_maidian_view ov left join device_id_meigou |from online.tl_hdfs_maidian_view ov left join device_id_meigou
|on ov.cl_id = device_id_meigou.device_id |on ov.cl_id = device_id_meigou.device_id
|where ov.action="user_installed_all_app_info" |where ov.action="user_installed_all_app_info"
|and agency_id.device_id is not null |and device_id_meigou.device_id is not null
|and ov.partition_date = '${partition_date}' |and ov.partition_date = '${partition_date}'
""".stripMargin """.stripMargin
) )
......
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