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
840f3693
Commit
840f3693
authored
Nov 21, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计参数
parent
c84cd635
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app_list.scala
eda/feededa/src/main/scala/com/gmei/app_list.scala
+2
-4
No files found.
eda/feededa/src/main/scala/com/gmei/app_list.scala
View file @
840f3693
...
...
@@ -250,7 +250,7 @@ object coincidence_xinyang {
"""
.
stripMargin
)
//获取每月活跃用户中与新氧用户重合用户占比
/*
//获取每月活跃用户中与新氧用户重合用户占比
//1.0 每月活跃中与新氧用户重合用户数
val month_day=pre_monthday.replace("-","")
val month_coincidence = sc.sql(
...
...
@@ -271,12 +271,10 @@ object coincidence_xinyang {
|and cl_id not in (select device_id from blacklist)
""".stripMargin
)
*/
val
result
=
yesterday_coincidence
.
join
(
yesterday_expoure_num
,
"stat_date"
)
.
join
(
week_coincidence
,
"stat_date"
)
.
join
(
week_expoure_num
,
"stat_date"
)
.
join
(
month_coincidence
,
"stat_date"
)
.
join
(
month_expoure_num
,
"stat_date"
)
GmeiConfig
.
writeToJDBCTable
(
result
,
"coincidence_xinyang"
,
SaveMode
.
Append
)
...
...
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