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
8178e56b
Commit
8178e56b
authored
Feb 23, 2019
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新用户去掉用户黑名单
parent
bbd7d370
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
temp_count.scala
eda/feededa/src/main/scala/com/gmei/temp_count.scala
+11
-11
testt.scala
eda/feededa/src/main/scala/com/gmei/testt.scala
+1
-0
No files found.
eda/feededa/src/main/scala/com/gmei/temp_count.scala
View file @
8178e56b
...
@@ -773,17 +773,17 @@ object find_reason {
...
@@ -773,17 +773,17 @@ object find_reason {
val
result
=
diary_meigou_newUser
.
join
(
diary_meigou_oldUser
,
"stat_date"
)
//
val result = diary_meigou_newUser.join(diary_meigou_oldUser,"stat_date")
.
join
(
diary_clk_newUser
,
"stat_date"
)
//
.join(diary_clk_newUser,"stat_date")
.
join
(
diary_clk_oldUser
,
"stat_date"
)
//
.join(diary_clk_oldUser,"stat_date")
.
join
(
diary_exp_newUser
,
"stat_date"
)
//
.join(diary_exp_newUser,"stat_date")
.
join
(
diary_exp_oldUser
,
"stat_date"
)
//
.join(diary_exp_oldUser,"stat_date")
.
join
(
search_newUser
,
"stat_date"
)
//
.join(search_newUser,"stat_date")
.
join
(
search_oldUser
,
"stat_date"
)
//
.join(search_oldUser,"stat_date")
.
join
(
log_newUser
,
"stat_date"
)
//
.join(log_newUser,"stat_date")
.
join
(
log_oldUser
,
"stat_date"
)
//
.join(log_oldUser,"stat_date")
//
GmeiConfig
.
writeToJDBCTable
(
result
,
"diary_meigou_crv"
,
SaveMode
.
Append
)
//
GmeiConfig.writeToJDBCTable(result, "diary_meigou_crv", SaveMode.Append)
}
}
...
...
eda/feededa/src/main/scala/com/gmei/testt.scala
View file @
8178e56b
...
@@ -83,6 +83,7 @@ object testt {
...
@@ -83,6 +83,7 @@ object testt {
s
"""
s
"""
|select distinct(os.device_id) as device_id
|select distinct(os.device_id) as device_id
|from online.ml_device_day_active_status os left join blacklist
|from online.ml_device_day_active_status os left join blacklist
|on os.device_id=blacklist.device_id
|where os.active_type != '4'
|where os.active_type != '4'
|and os.first_channel_source_type not in ('yqxiu1','yqxiu2','yqxiu3','yqxiu4','yqxiu5','mxyc1','mxyc2','mxyc3'
|and os.first_channel_source_type not in ('yqxiu1','yqxiu2','yqxiu3','yqxiu4','yqxiu5','mxyc1','mxyc2','mxyc3'
| ,'wanpu','jinshan','jx','maimai','zhuoyi','huatian','suopingjingling','mocha','mizhe','meika','lamabang'
| ,'wanpu','jinshan','jx','maimai','zhuoyi','huatian','suopingjingling','mocha','mizhe','meika','lamabang'
...
...
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