Commit b512b5ed authored by 郭羽's avatar 郭羽

个性化push指标 测试

parent ccee0d5d
...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment