Commit a5ce9d07 authored by litaolemo's avatar litaolemo

update

parent ad65b004
...@@ -91,7 +91,7 @@ for t in range(2, task_days): ...@@ -91,7 +91,7 @@ for t in range(2, task_days):
yesterday_str_format = (now + datetime.timedelta(days=-1)).strftime("%Y-%m-%d") yesterday_str_format = (now + datetime.timedelta(days=-1)).strftime("%Y-%m-%d")
one_week_age_str = (now + datetime.timedelta(days=-7)).strftime("%Y%m%d") one_week_age_str = (now + datetime.timedelta(days=-7)).strftime("%Y%m%d")
new_urser_device_id_sql = r""" new_urser_device_id_sql = r"""
select cl_type,app_version,count(app_version) as count_num from online.bl_hdfs_maidian_updates where partition_date >= "20200222" group by cl_type,app_version select cl_type,app_version,count(app_version) as count_num from online.bl_hdfs_maidian_updates where partition_date >= "20200201" group by cl_type,app_version
""".format(start_date="20210201", end_date="20200222", today_str_format=today_str_format,tomorrow_str=tomorrow_str) """.format(start_date="20210201", end_date="20200222", today_str_format=today_str_format,tomorrow_str=tomorrow_str)
# print(new_urser_device_id_sql) # print(new_urser_device_id_sql)
......
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