Commit 9b041d8f authored by litaolemo's avatar litaolemo

update

parent bdd38356
...@@ -189,9 +189,9 @@ for t in range(0, task_days): ...@@ -189,9 +189,9 @@ for t in range(0, task_days):
sql_res = search_ctr_df.collect() sql_res = search_ctr_df.collect()
tag_names_list_week = [] tag_names_list_week = []
for name in sql_res: for name in sql_res:
word = name.get("query") word = name.query
nums = name.get("all_search_pv") nums = name.all_search_pv
uv = name.get("all_search_uv") uv = name.all_search_uv
partition_date = str(now + datetime.timedelta(days=-1)) partition_date = str(now + datetime.timedelta(days=-1))
tag_names_list_week.append((word, nums, uv, partition_date)) tag_names_list_week.append((word, nums, uv, partition_date))
......
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