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
ace97e5d
Commit
ace97e5d
authored
Jun 19, 2021
by
郭羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个性化push指标
parent
654192a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
ctr_push_strategy.py
task/ctr_push_strategy.py
+1
-12
No files found.
task/ctr_push_strategy.py
View file @
ace97e5d
...
@@ -141,18 +141,7 @@ def getSql(startDay,endDay):
...
@@ -141,18 +141,7 @@ def getSql(startDay,endDay):
group by msg_id,regexp_replace(labels['event'], '
\\
s+', ''),time_stamp
group by msg_id,regexp_replace(labels['event'], '
\\
s+', ''),time_stamp
)c
)c
on a.msg_id=c.msg_id
on a.msg_id=c.msg_id
left join
(
select
partition_date
,device_id
from online.ml_device_day_active_status
where partition_date >= {startDay} and partition_date<{endDay}
AND active_type in ('1','2','3')
-- and device_os_type='ios'
)d
on a.partition_day=d.partition_date and a.device_id=d.device_id
where d.device_id is null
group by partition_day
group by partition_day
,device_os_type
,device_os_type
,push_type
,push_type
...
...
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