Commit 5419b34b authored by litaolemo's avatar litaolemo

update

parent 80e0e071
...@@ -189,6 +189,8 @@ for t in range(0, task_days): ...@@ -189,6 +189,8 @@ for t in range(0, task_days):
)t2 )t2
on t1.cl_id=t2.device_id AND t1.partition_date = t2.partition_date on t1.cl_id=t2.device_id AND t1.partition_date = t2.partition_date
GROUP BY active_type,device_os_type,channel GROUP BY active_type,device_os_type,channel
)t2
)t3
""".format(today_str=today_str, yesterday_str=yesterday_str, ) """.format(today_str=today_str, yesterday_str=yesterday_str, )
device_df = spark.sql(sql) device_df = spark.sql(sql)
device_df.show(1, False) device_df.show(1, False)
......
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