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
b833140f
Commit
b833140f
authored
Nov 20, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除机构和黑名单
parent
06deb7d1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app_list.scala
eda/feededa/src/main/scala/com/gmei/app_list.scala
+4
-4
No files found.
eda/feededa/src/main/scala/com/gmei/app_list.scala
View file @
b833140f
...
...
@@ -323,7 +323,7 @@ object coincidence_xinyang {
s
"""
|select count(cl_id) as zixun_num_all
|from online.tl_hdfs_maidian_view
|where partition_date > '20180
1
01'
|where partition_date > '20180
5
01'
|and action = 'welfare_detail_click_message'
|and cl_id not in (select device_id from bl_device_list)
|and cl_id not in (select device_id from blacklist)
...
...
@@ -335,7 +335,7 @@ object coincidence_xinyang {
s
"""
|select count(distinct(cl_id)) zixun_device_all
|from online.tl_hdfs_maidian_view
|where partition_date > '20180
1
01'
|where partition_date > '20180
5
01'
|and action = 'welfare_detail_click_message'
|and cl_id not in (select device_id from bl_device_list)
|and cl_id not in (select device_id from blacklist)
...
...
@@ -347,7 +347,7 @@ object coincidence_xinyang {
s
"""
|select count(cl_id) as zixun_num_co
|from online.tl_hdfs_maidian_view
|where partition_date > '20180
1
01'
|where partition_date > '20180
5
01'
|and action = 'welfare_detail_click_message'
|and cl_id in (select distinct(device_id) from device_id_coincidence)
"""
.
stripMargin
...
...
@@ -358,7 +358,7 @@ object coincidence_xinyang {
s
"""
|select count(distinct(cl_id)) as zixun_num_co_dis
|from online.tl_hdfs_maidian_view
|where partition_date > '20180
1
01'
|where partition_date > '20180
5
01'
|and action = 'welfare_detail_click_message'
|and cl_id in (select distinct(device_id) from device_id_coincidence)
"""
.
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