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

统计运维想要数据

parent 824a2f67
......@@ -94,8 +94,12 @@ object app_list {
|where a.partition_date ='${partition_date}'
""".stripMargin
)
app_list.show()
GmeiConfig.writeToJDBCTable("jdbc:mysql://172.16.40.158:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true",app_list, table="app_list_yunying",SaveMode.Append)
println("写入完成")
GmeiConfig.writeToJDBCTable("jdbc:mysql://172.16.40.158:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true",app_list, "app_list_temp_yunying", 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