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

repair

parent e591e3cf
......@@ -140,20 +140,18 @@ object Recommendation_strategy_all {
}
}
//val current_all = sc.sql(
// s"""
// |select temp1.stat_date,temp1.clk_count_oldUser_experiment,temp1.imp_count_oldUser_experiment,temp2.clk_count_oldUser_all,temp2.imp_count_oldUser_all
// |from temp1 join temp2
// |on temp1.stat_date = temp2.stat_date
// """.stripMargin
//)
val current_all = sc.sql(
s"""
|select temp1.stat_date,temp1.clk_count_oldUser_experiment,temp1.imp_count_oldUser_experiment,temp2.clk_count_oldUser_all,temp2.imp_count_oldUser_all
|from temp1 join temp2
|on temp1.stat_date = temp2.stat_date
""".stripMargin
)
//val result = current_all
// result.show()
val result = current_all
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