Commit 0aa17ef8 authored by 王志伟's avatar 王志伟

拆分新老用户重复曝光指标

parent 39efea7a
...@@ -264,6 +264,7 @@ object Repeated_content_recommendation { ...@@ -264,6 +264,7 @@ object Repeated_content_recommendation {
""".stripMargin """.stripMargin
) )
device_id_oldUser.createOrReplaceTempView("device_id_old") device_id_oldUser.createOrReplaceTempView("device_id_old")
device_id_oldUser.show()
val device_id_newUser = sc.sql( val device_id_newUser = sc.sql(
...@@ -284,6 +285,7 @@ object Repeated_content_recommendation { ...@@ -284,6 +285,7 @@ object Repeated_content_recommendation {
""".stripMargin """.stripMargin
) )
device_id_newUser.createOrReplaceTempView("device_id_new") device_id_newUser.createOrReplaceTempView("device_id_new")
device_id_newUser.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