Commit 359a565d authored by litaolemo's avatar litaolemo

update

parent 696dc393
......@@ -222,7 +222,7 @@ and (dev.device_id is null or dev.device_id='')
except:
search_ctr = 0
instert_sql = """replace into search_meigou_ctr(
partition_date,device_os_type,active_type,pid,click_num,exposure,search_ctr) VALUES('{day_id}','{device_os_type}','{active_type}','{pid}',{click_num},{exposure},{search_ctr});""".format(
partition_date,device_os_type,active_type,pid,click_num,exposure,search_ctr) VALUES('{partition_date}','{device_os_type}','{active_type}','{pid}',{click_num},{exposure},{search_ctr});""".format(
partition_date=partition_date, device_os_type=device_os_type, active_type=active_type, pid=pid, click_num=click_num,
exposure=exposure, search_ctr=search_ctr
)
......
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