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
040c6ea7
Commit
040c6ea7
authored
Nov 09, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repair bug
parent
490d3172
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
Recommendation_strategy_all.scala
...src/main/scala/com/gmei/Recommendation_strategy_all.scala
+4
-7
testt.scala
eda/feededa/src/main/scala/com/gmei/testt.scala
+1
-1
No files found.
eda/feededa/src/main/scala/com/gmei/Recommendation_strategy_all.scala
View file @
040c6ea7
...
...
@@ -137,6 +137,10 @@ object Recommendation_strategy_all {
}
}
val
current_all
=
sc
.
sql
(
s
"""
|select a.stat_date,a.clk_count_oldUser_experiment,a.imp_count_oldUser_experiment,b.clk_count_oldUser_all,b.imp_count_oldUser_all
...
...
@@ -152,13 +156,6 @@ object Recommendation_strategy_all {
}
}
...
...
eda/feededa/src/main/scala/com/gmei/testt.scala
View file @
040c6ea7
...
...
@@ -66,7 +66,7 @@ object testt {
s
"""
|select diary_id,dur_time,num_clk,(dur_time/num_clk) as avg
|from temp
|order by
avg
desc
|order by
num_clk
desc
"""
.
stripMargin
)
GmeiConfig
.
writeToJDBCTable
(
avg
,
"avg"
,
SaveMode
.
Overwrite
)
...
...
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