Commit 8536978d authored by 王志伟's avatar 王志伟

统计like项目

parent 25608d85
...@@ -591,9 +591,10 @@ object alpha_ctr { ...@@ -591,9 +591,10 @@ object alpha_ctr {
|and partition_day='${partition_date}' |and partition_day='${partition_date}'
""".stripMargin """.stripMargin
) )
val jsonS=expoure_count_recommend.rdd.map(row =>{ expoure_count_recommend.rdd.map(row =>{
println(row)
val s = row.getAs[List[String]]("exposure_cards") val s = row.getAs[List[String]]("exposure_cards")
println(s.length) println(s)
}) })
...@@ -602,7 +603,7 @@ object alpha_ctr { ...@@ -602,7 +603,7 @@ object alpha_ctr {
GmeiConfig.writeToJDBCTable(click_count_recommend, "smart_rank_count", SaveMode.Append) // GmeiConfig.writeToJDBCTable(click_count_recommend, "smart_rank_count", 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