Commit 04466888 authored by litaolemo's avatar litaolemo

update

parent 4b102b19
......@@ -80,7 +80,7 @@ for t in range(0, task_days):
yesterday_str = (now + datetime.timedelta(days=-1)).strftime("%Y%m%d")
one_week_age_str = (now + datetime.timedelta(days=-7)).strftime("%Y%m%d")
sql_distinct_device_id = """
desc online.tl_hdfs_doctor_view"""
SELECT * FROM online.tl_hdfs_doctor_view limit 200"""
print(sql_distinct_device_id)
distinct_device_id_df = spark.sql(sql_distinct_device_id,)
distinct_device_id_df.show(1)
......
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