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
d527ef65
Commit
d527ef65
authored
Dec 13, 2018
by
王志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
统计日记本点击的各个来源数量
parent
24c102d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
temp_analysis.scala
eda/feededa/src/main/scala/com/gmei/temp_analysis.scala
+1
-1
No files found.
eda/feededa/src/main/scala/com/gmei/temp_analysis.scala
View file @
d527ef65
...
...
@@ -123,7 +123,7 @@ object temp_analysis {
for
(
a
<-
referrer
){
val
diary_clk_temp
=
sc
.
sql
(
s
"""
|select ov.partition_date,count(ov.cl_id) as clk_num,count(distinct(ov.cl_id))
|select ov.partition_date,count(ov.cl_id) as clk_num,count(distinct(ov.cl_id))
,count(ov.cl_id)/count(distinct(ov.cl_id))
|from online.tl_hdfs_maidian_view ov left join final_id
|on ov.cl_id = final_id.device_id
|where ov.action = "page_view"
...
...
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