Commit 007c28ac authored by 张彦钊's avatar 张彦钊

Merge branch 'master' of git.wanmeizhensuo.com:ML/ffm-baseline

submit sh 脚本增加删除文件
parents efc1d20d 3e6ab5c5
......@@ -476,7 +476,8 @@ 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
//println(param.date)
val partition_date = stat_date.replace("-","")
......@@ -545,6 +546,8 @@ object icon_train_data {
|from online.ml_meigou_order_detail
|where partition_date='${partition_date}'
|and device_id is not null
|and validate_time >'${qian_date}'
|and validate_time <='${stat_date}'
""".stripMargin
)
megou_order.createOrReplaceTempView("megou_order")
......
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