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
581aa751
Commit
581aa751
authored
Dec 19, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计算用户ARPU
parent
9a702328
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
temp_analysis.scala
eda/feededa/src/main/scala/com/gmei/temp_analysis.scala
+2
-2
testt.scala
eda/feededa/src/main/scala/com/gmei/testt.scala
+2
-2
No files found.
eda/feededa/src/main/scala/com/gmei/temp_analysis.scala
View file @
581aa751
...
...
@@ -242,13 +242,13 @@ object ARPU_COM {
|SELECT DISTINCT(cl_id) as device_id
|FROM online.ml_hospital_spam_pv_day
|WHERE partition_date >= '20180402'
|AND partition_date <= '
20181203
'
|AND partition_date <= '
${partition_date}
'
|AND pv_ratio >= 0.95
|UNION ALL
|SELECT DISTINCT(cl_id) as device_id
|FROM online.ml_hospital_spam_pv_month
|WHERE partition_date >= '20171101'
|AND partition_date <= '
20181203
'
|AND partition_date <= '
${partition_date}
'
|AND pv_ratio >= 0.95
"""
.
stripMargin
)
...
...
eda/feededa/src/main/scala/com/gmei/testt.scala
View file @
581aa751
...
...
@@ -66,13 +66,13 @@ object testt {
|SELECT DISTINCT(cl_id) as device_id
|FROM online.ml_hospital_spam_pv_day
|WHERE partition_date >= '20180402'
|AND partition_date <= '
20181203
'
|AND partition_date <= '
${partition_date}
'
|AND pv_ratio >= 0.95
|UNION ALL
|SELECT DISTINCT(cl_id) as device_id
|FROM online.ml_hospital_spam_pv_month
|WHERE partition_date >= '20171101'
|AND partition_date <= '
20181203
'
|AND partition_date <= '
${partition_date}
'
|AND pv_ratio >= 0.95
"""
.
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