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

跑之前的数据

parent 066bbe52
......@@ -477,9 +477,9 @@ object icon_train_data {
sc.sql("use jerry_prod")
// val stat_date = GmeiConfig.getMinusNDate(1) //昨天
val stat_date = GmeiConfig.getMinusNDate(1) //昨天
val qian_date = GmeiConfig.getMinusNDate(2) //前天
val stat_date = param.date
// val stat_date = param.date
//println(param.date)
val partition_date = stat_date.replace("-","")
......@@ -600,7 +600,7 @@ object icon_train_data {
|from online.ml_meigou_order_detail
|where partition_date='${partition_date}'
|and device_id is not null
|and validate_time >='${stat_date}'
|and validate_time >'${qian_date}'
|and validate_time <='${stat_date}'
""".stripMargin
)
......@@ -780,8 +780,8 @@ object tag_value {
import sc.implicits._
// val stat_date = GmeiConfig.getMinusNDate(1)
val stat_date = param.date
val stat_date = GmeiConfig.getMinusNDate(1)
// val stat_date = param.date
//println(param.date)
val partition_date = stat_date.replace("-","")
......
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