Commit 42d75fbb authored by litaolemo's avatar litaolemo

update

parent eded09c7
......@@ -609,7 +609,7 @@ for t in range(0, task_days):
GROUP BY t1.query,active_type,device_os_type,channel
)t6
on t1.query=t6.query and t1.active_type=t6.active_type and t1.device_os_type = t6.device_os_type AND t1.channel = t6.channel
order by 30_pv desc,query""".format(last_30_day_str=last_30_day_str, today_str=today_str,
order by 1_pv desc,query""".format(last_30_day_str=last_30_day_str, today_str=today_str,
yesterday_str=yesterday_str, one_week_age_str=one_week_age_str)
device_df = spark.sql(sql)
device_df.createOrReplaceTempView("data_table")
......
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