From 7545d0eaa9cf27183088dc4d5c103f0d0de57b72 Mon Sep 17 00:00:00 2001 From: litaolemo <593516104@qq.com> Date: Mon, 7 Dec 2020 17:33:20 +0800 Subject: [PATCH] update --- task/search_diary_ctr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/task/search_diary_ctr.py b/task/search_diary_ctr.py index 27026b3..c268719 100644 --- a/task/search_diary_ctr.py +++ b/task/search_diary_ctr.py @@ -170,9 +170,9 @@ group by t1.partition_date,device_os_type,active_type,channel channel = res.channel pid = hashlib.md5((partition_date + device_os_type + active_type + channel).encode("utf8")).hexdigest() diary_click_num = res.diary_click_pv - diary_exposure = res.diary_exp_pv, - qa_click_num = res.qa_click_pv, - qa_exposure = res.qa_exp_pv, + diary_exposure = res.diary_exp_pv + qa_click_num = res.qa_click_pv + qa_exposure = res.qa_exp_pv try: search_ctr = round(diary_click_num / diary_exposure, 5) -- 2.18.0