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
84fdcd01
Commit
84fdcd01
authored
Nov 27, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计新用户数据
parent
414e7793
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
strategy_other.scala
eda/feededa/src/main/scala/com/gmei/strategy_other.scala
+2
-2
No files found.
eda/feededa/src/main/scala/com/gmei/strategy_other.scala
View file @
84fdcd01
...
@@ -112,8 +112,8 @@ object strategy_other {
...
@@ -112,8 +112,8 @@ object strategy_other {
val
imp_count_newUser_all
=
sc
.
sql
(
val
imp_count_newUser_all
=
sc
.
sql
(
s
"""
s
"""
|select '${param.date}' as stat_date, count(cid_id) as imp_count_newUser_all
|select '${param.date}' as stat_date, count(cid_id) as imp_count_newUser_all
|from data_feed_exposure je inner join device_id_
old
|from data_feed_exposure je inner join device_id_
new
|on je.device_id = device_id_
old
.device_id
|on je.device_id = device_id_
new
.device_id
|where je.cid_type = 'diary'
|where je.cid_type = 'diary'
|and je.device_id not in (select device_id from blacklist)
|and je.device_id not in (select device_id from blacklist)
|and je.stat_date ='${param.date}'
|and je.stat_date ='${param.date}'
...
...
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