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
e1dd8216
Commit
e1dd8216
authored
Feb 23, 2019
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计新指标,device_clk_imp_reason
parent
73dc107b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
temp_count.scala
eda/feededa/src/main/scala/com/gmei/temp_count.scala
+2
-0
No files found.
eda/feededa/src/main/scala/com/gmei/temp_count.scala
View file @
e1dd8216
...
@@ -776,8 +776,10 @@ object find_reason {
...
@@ -776,8 +776,10 @@ object find_reason {
|select '${stat_date}' as stat_date,count(oc.device_id) as old_clk_count
|select '${stat_date}' as stat_date,count(oc.device_id) as old_clk_count
|from all_clk_diary_card oc inner join device_id_old
|from all_clk_diary_card oc inner join device_id_old
|on oc.device_id = device_id_old.device_id
|on oc.device_id = device_id_old.device_id
|group by stat_date
"""
.
stripMargin
"""
.
stripMargin
)
)
old_clk_count
.
show
()
//1.1有点击的老用户
//1.1有点击的老用户
val
old_clk_device
=
sc
.
sql
(
val
old_clk_device
=
sc
.
sql
(
s
"""
s
"""
...
...
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