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
670d6720
Commit
670d6720
authored
Apr 17, 2019
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加双写
parent
9fd447d8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
data_feed_exposure_precise.scala
.../src/main/scala/com/gmei/data_feed_exposure_precise.scala
+1
-1
testt.scala
eda/feededa/src/main/scala/com/gmei/testt.scala
+4
-0
No files found.
eda/feededa/src/main/scala/com/gmei/data_feed_exposure_precise.scala
View file @
670d6720
...
...
@@ -413,7 +413,7 @@ object data_feed_exposure_precise {
"""
.
stripMargin
)
//
GmeiConfig.writeToJDBCTable(result, table = "data_feed_exposure_precise", SaveMode.Append)
GmeiConfig
.
writeToJDBCTable
(
result
,
table
=
"data_feed_exposure_precise"
,
SaveMode
.
Append
)
GmeiConfig
.
writeToJDBCTable
(
"jdbc:mysql://152.136.44.138:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true"
,
result
,
table
=
"data_feed_exposure_precise"
,
SaveMode
.
Append
)
}
...
...
eda/feededa/src/main/scala/com/gmei/testt.scala
View file @
670d6720
...
...
@@ -401,6 +401,8 @@ object testt {
.
join
(
log_oldUser
,
"stat_date"
)
GmeiConfig
.
writeToJDBCTable
(
result
,
"diary_meigou_crv"
,
SaveMode
.
Append
)
GmeiConfig
.
writeToJDBCTable
(
"jdbc:mysql://152.136.44.138:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true"
,
result
,
table
=
"diary_meigou_crv"
,
SaveMode
.
Append
)
}
...
...
@@ -765,6 +767,8 @@ object diary_clk_card {
result1
.
show
()
GmeiConfig
.
writeToJDBCTable
(
result1
,
"on_click_diary_card"
,
SaveMode
.
Append
)
GmeiConfig
.
writeToJDBCTable
(
"jdbc:mysql://152.136.44.138:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true"
,
result1
,
table
=
"on_click_diary_card"
,
SaveMode
.
Append
)
}
...
...
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