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

repair bug

parent 7e223fe7
......@@ -81,17 +81,10 @@ object app_list {
|from device_id
""".stripMargin
)
temp.createOrReplaceTempView("temp")
val device_id = sc.sql(
s"""
|select '${param.date}' as stat_date,value as device_id
|from temp
""".stripMargin
)
device_id.show()
temp.show()
GmeiConfig.writeToJDBCTable(device_id, "device_id_contain", SaveMode.Append)
GmeiConfig.writeToJDBCTable(temp, "device_id_contain", 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