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

xi

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