Commit a36c9975 authored by litaolemo's avatar litaolemo

update

parent a49389f2
......@@ -723,8 +723,7 @@ for t in range(1, task_days):
WHERE spam_pv.device_id IS NULL
and dev.device_id is null and dev.
GROUP BY t1.partition_date,t1.device_os_type,t1.active_type,t2.card_content_type,t2.recommend_type
order by day_id,device_os_type,active_type,card_content_type,recommend_type;
order by day_id,device_os_type,active_type,card_content_type,recommend_type
""".format(partition_day=today_str)
ctr_df = spark.sql(ctr_sql)
ctr_df.createOrReplaceTempView("temp_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