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
2d5fb44d
Commit
2d5fb44d
authored
Dec 10, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bus
parent
0e597661
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
testt.scala
eda/feededa/src/main/scala/com/gmei/testt.scala
+5
-5
No files found.
eda/feededa/src/main/scala/com/gmei/testt.scala
View file @
2d5fb44d
...
@@ -82,7 +82,7 @@ object testt {
...
@@ -82,7 +82,7 @@ object testt {
|where ou.partition_date = '${partition_date}'
|where ou.partition_date = '${partition_date}'
|and ou.page_name='welfare_detail'
|and ou.page_name='welfare_detail'
|and ou.referrer='diary_detail'
|and ou.referrer='diary_detail'
|and agency_id.device_id is
not
null
|and agency_id.device_id is null
|and ou.cl_id not in (select device_id from blacklist)
|and ou.cl_id not in (select device_id from blacklist)
"""
.
stripMargin
"""
.
stripMargin
)
)
...
@@ -97,7 +97,7 @@ object testt {
...
@@ -97,7 +97,7 @@ object testt {
|where ov.action = 'on_click_diary_card'
|where ov.action = 'on_click_diary_card'
|and ov.cl_id != "NULL"
|and ov.cl_id != "NULL"
|and ov.partition_date='${partition_date}'
|and ov.partition_date='${partition_date}'
|and agency_id.device_id is
not
null
|and agency_id.device_id is null
|and ov.cl_id not in (select device_id from blacklist)
|and ov.cl_id not in (select device_id from blacklist)
"""
.
stripMargin
"""
.
stripMargin
)
)
...
@@ -112,7 +112,7 @@ object testt {
...
@@ -112,7 +112,7 @@ object testt {
|where od.business_type = "diary"
|where od.business_type = "diary"
|and od.cl_id != "NULL"
|and od.cl_id != "NULL"
|and od.partition_date='${partition_date}'
|and od.partition_date='${partition_date}'
|and agency_id.device_id is
not
null
|and agency_id.device_id is null
|and od.cl_id not in (select device_id from blacklist)
|and od.cl_id not in (select device_id from blacklist)
"""
.
stripMargin
"""
.
stripMargin
)
)
...
@@ -126,7 +126,7 @@ object testt {
...
@@ -126,7 +126,7 @@ object testt {
|on ov.cl_id = agency_id.device_id
|on ov.cl_id = agency_id.device_id
|where (ov.action = 'do_search' or ov.action = 'search_result_click_search')
|where (ov.action = 'do_search' or ov.action = 'search_result_click_search')
|and ov.partition_date ='${partition_date}'
|and ov.partition_date ='${partition_date}'
|and agency_id.device_id is
not
null
|and agency_id.device_id is null
|and ov.cl_id not in (select device_id from blacklist)
|and ov.cl_id not in (select device_id from blacklist)
"""
.
stripMargin
"""
.
stripMargin
)
)
...
@@ -140,7 +140,7 @@ object testt {
...
@@ -140,7 +140,7 @@ object testt {
|from data_feed_exposure oe left join agency_id
|from data_feed_exposure oe left join agency_id
|on oe.device_id = agency_id.device_id
|on oe.device_id = agency_id.device_id
|and oe.stat_date ='${stat_date}'
|and oe.stat_date ='${stat_date}'
|and agency_id.device_id is
not
null
|and agency_id.device_id is null
|and oe.device_id not in (select device_id from blacklist)
|and oe.device_id not in (select device_id from blacklist)
"""
.
stripMargin
"""
.
stripMargin
)
)
...
...
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