Commit 2ea13b3a authored by 王志伟's avatar 王志伟

add

parent b4dacf8f
......@@ -85,6 +85,7 @@ object Recommendation_strategy_all {
|and jd.stat_date ='${param.date}'
""".stripMargin
)
clk_count_oldUser_Contrast.show()
val imp_count_oldUser_Contrast = sc.sql(
s"""
......@@ -98,6 +99,7 @@ object Recommendation_strategy_all {
|and je.stat_date ='${param.date}'
""".stripMargin
)
imp_count_oldUser_Contrast.show()
val clk_count_oldUser_all = sc.sql(
s"""
......@@ -110,6 +112,7 @@ object Recommendation_strategy_all {
|and jd.stat_date ='${param.date}'
""".stripMargin
)
clk_count_oldUser_all.show()
val imp_count_oldUser_all = sc.sql(
s"""
......@@ -122,11 +125,12 @@ object Recommendation_strategy_all {
|and je.stat_date ='${param.date}'
""".stripMargin
)
imp_count_oldUser_all.show()
val result = clk_count_oldUser_Contrast.join(imp_count_oldUser_Contrast,"stat_date")
.join(clk_count_oldUser_all,"stat_date")
.join(imp_count_oldUser_all,"stat_date")
result.show()
result.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