Commit 040c6ea7 authored by 王志伟's avatar 王志伟

repair bug

parent 490d3172
......@@ -137,6 +137,10 @@ object Recommendation_strategy_all {
}
}
val current_all = sc.sql(
s"""
|select a.stat_date,a.clk_count_oldUser_experiment,a.imp_count_oldUser_experiment,b.clk_count_oldUser_all,b.imp_count_oldUser_all
......@@ -152,13 +156,6 @@ object Recommendation_strategy_all {
}
}
......
......@@ -66,7 +66,7 @@ object testt {
s"""
|select diary_id,dur_time,num_clk,(dur_time/num_clk) as avg
|from temp
|order by avg desc
|order by num_clk desc
""".stripMargin
)
GmeiConfig.writeToJDBCTable(avg, "avg", SaveMode.Overwrite)
......
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