Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
007c28ac
Commit
007c28ac
authored
May 30, 2019
by
张彦钊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.wanmeizhensuo.com:ML/ffm-baseline
submit sh 脚本增加删除文件
parents
efc1d20d
3e6ab5c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
data_feed_exposure_precise.scala
.../src/main/scala/com/gmei/data_feed_exposure_precise.scala
+4
-1
No files found.
eda/feededa/src/main/scala/com/gmei/data_feed_exposure_precise.scala
View file @
007c28ac
...
@@ -476,7 +476,8 @@ object icon_train_data {
...
@@ -476,7 +476,8 @@ object icon_train_data {
sc
.
sql
(
"use jerry_prod"
)
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)
//println(param.date)
val
partition_date
=
stat_date
.
replace
(
"-"
,
""
)
val
partition_date
=
stat_date
.
replace
(
"-"
,
""
)
...
@@ -545,6 +546,8 @@ object icon_train_data {
...
@@ -545,6 +546,8 @@ object icon_train_data {
|from online.ml_meigou_order_detail
|from online.ml_meigou_order_detail
|where partition_date='${partition_date}'
|where partition_date='${partition_date}'
|and device_id is not null
|and device_id is not null
|and validate_time >'${qian_date}'
|and validate_time <='${stat_date}'
"""
.
stripMargin
"""
.
stripMargin
)
)
megou_order
.
createOrReplaceTempView
(
"megou_order"
)
megou_order
.
createOrReplaceTempView
(
"megou_order"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment