Commit 52a037ba authored by litaolemo's avatar litaolemo

update

parent 071efe9f
...@@ -133,13 +133,6 @@ for t in range(0, task_days): ...@@ -133,13 +133,6 @@ for t in range(0, task_days):
# print(res) # print(res)
# print("1-----------------------------------------------------------------------------") # print("1-----------------------------------------------------------------------------")
# cpc当日预算(有效口径) # cpc当日预算(有效口径)
test_sql = "select * from online.tl_hdfs_cpc_clicklog_view"
cpc_budget_df = spark.sql(test_sql)
cpc_budget_df.show(1, False)
sql_res = cpc_budget_df.collect()
for res in sql_res:
print(res)
cpc_budget_sql = """SELECT day_id,sum(budget) as budget cpc_budget_sql = """SELECT day_id,sum(budget) as budget
FROM FROM
......
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