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
b512b5ed
Commit
b512b5ed
authored
Jun 19, 2021
by
郭羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个性化push指标 测试
parent
ccee0d5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ctr_push_strategy_test.py
task/ctr_push_strategy_test.py
+1
-1
No files found.
task/ctr_push_strategy_test.py
View file @
b512b5ed
...
@@ -77,7 +77,7 @@ def getSql(startDay,endDay):
...
@@ -77,7 +77,7 @@ def getSql(startDay,endDay):
--push接收数据
--push接收数据
select partition_date,push_type,count(*)
select partition_date,push_type,count(*)
from online.tl_hdfs_push2_new_view --增量表
from online.tl_hdfs_push2_new_view --增量表
where partition_date >= {startDay} and partition_date<{endDay} push_type in ('101','102','111','112')
where partition_date >= {startDay} and partition_date<{endDay}
and
push_type in ('101','102','111','112')
group by partition_date,push_type
group by partition_date,push_type
"""
.
format
(
startDay
=
startDay
,
endDay
=
endDay
)
"""
.
format
(
startDay
=
startDay
,
endDay
=
endDay
)
...
...
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