Commit 10f1bd72 authored by 王志伟's avatar 王志伟

repair bug

parent 0fa03a46
......@@ -58,7 +58,7 @@ object app_list {
import sc.implicits._
val stat_date = GmeiConfig.getMinusNDate(1)
//println(param.date)
val partition_date = stat_date.replace("-","")
val partition_date = param.date.replace("-","")
//获取策略命中用户device_id
val app_list = sc.sql(
......@@ -77,7 +77,7 @@ object app_list {
val device_id = sc.sql(
s"""
|select '${stat_date}' as stat_date,value
|select '${param.date}' as stat_date,value as device_id
|from device_id
""".stripMargin
)
......
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