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

计算多天的推荐重复问题

parent 3315f56d
...@@ -321,6 +321,14 @@ object Repeated_content_recommendation_moreday { ...@@ -321,6 +321,14 @@ object Repeated_content_recommendation_moreday {
""".stripMargin """.stripMargin
) )
exp_diary.show() exp_diary.show()
exp_diary.createOrReplaceTempView("exp_diary")
val count = sc.sql(
s"""
|select count(*) from exp_diary
""".stripMargin
)
count.show()
// GmeiConfig.writeToJDBCTable(df, table = "Repeated_evaluation_indicator_moreday", SaveMode.Append) // GmeiConfig.writeToJDBCTable(df, table = "Repeated_evaluation_indicator_moreday", SaveMode.Append)
......
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