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
f160254a
Commit
f160254a
authored
Dec 10, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
f02bea40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
testt.scala
eda/feededa/src/main/scala/com/gmei/testt.scala
+6
-6
No files found.
eda/feededa/src/main/scala/com/gmei/testt.scala
View file @
f160254a
...
...
@@ -133,7 +133,7 @@ object testt {
diary_meigou_temp
.
createOrReplaceTempView
(
"diary_meigou_temp"
)
val
diary_meigou_device
=
sc
.
sql
(
s
"""
|select device_id
|select d
t.d
evice_id
|from diary_meigou_temp dt left join blacklist
|on dt.device_id = blacklist.device_id
|where blacklist.device_id is null
...
...
@@ -189,7 +189,7 @@ object testt {
val
diary_clk_device
=
sc
.
sql
(
s
"""
|select device_id
|select d
t.d
evice_id
|from diary_clk_temp dt left join blacklist
|on dt.device_id = blacklist.device_id
|where blacklist.device_id is null
...
...
@@ -246,7 +246,7 @@ object testt {
val
diary_expoure_device
=
sc
.
sql
(
s
"""
|select device_id
|select d
t.d
evice_id
|from diary_expoure_temp dt left join blacklist
|on dt.device_id = blacklist.device_id
|where blacklist.device_id is null
...
...
@@ -302,10 +302,10 @@ object testt {
val
search_device
=
sc
.
sql
(
s
"""
|select device_id
|select d
t.d
evice_id
|from search_device_temp dt left join blacklist
|on dt.device_id = blacklist.device_id
|where blacklist.device_id is
null
|where blacklist.device_id is null
"""
.
stripMargin
)
search_device
.
createOrReplaceTempView
(
"search_device"
)
...
...
@@ -343,7 +343,7 @@ object testt {
val
log_device
=
sc
.
sql
(
s
"""
|select device_id
|select d
t.d
evice_id
|from log_device_temp dt left join blacklist
|on dt.device_id = blacklist.device_id
|where blacklist.device_id is null
...
...
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