Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta_base_code
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宋柯
meta_base_code
Commits
68d9ac8d
Commit
68d9ac8d
authored
Nov 27, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c1642720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
new_user_behavior_analysis.py
new_user_analysis/new_user_behavior_analysis.py
+2
-2
No files found.
new_user_analysis/new_user_behavior_analysis.py
View file @
68d9ac8d
...
...
@@ -177,7 +177,7 @@ WHERE dev.device_id is null and t2.device_id is not null
when transaction_type like 'deeplink
%
' then array('deeplink策略','合计') end,
card_id,
app_session_id
)a on a.c
ard
_id = dev.device_id
)a on a.c
l
_id = dev.device_id
LATERAL VIEW explode (a.recommend_type) v as recommend_type
group by cl_id having session_pv0 <= 8
"""
.
format
(
partition_day
=
today_str
)
...
...
@@ -238,7 +238,7 @@ WHERE dev.device_id is null and t2.device_id is not null
when transaction_type like 'deeplink
%
' then array('deeplink策略','合计') end,
card_id,
app_session_id
)a on a.c
ard
_id = dev.device_id
)a on a.c
l
_id = dev.device_id
LATERAL VIEW explode (a.recommend_type) v as recommend_type
group by cl_id having session_pv0 >= 16
"""
.
format
(
partition_day
=
today_str
)
...
...
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