Commit e807b0bc authored by 张彦钊's avatar 张彦钊

change

parent a79c6296
...@@ -12,7 +12,6 @@ def all_click(x): ...@@ -12,7 +12,6 @@ def all_click(x):
total = [] total = []
sum = 0 sum = 0
date = (datetime.date.today() - datetime.timedelta(days=x)).strftime("%Y%m%d") date = (datetime.date.today() - datetime.timedelta(days=x)).strftime("%Y%m%d")
total.append(date)
print("美购搜索点击") print("美购搜索点击")
tmp = spark.sql("select count(*) from online.bl_hdfs_maidian_updates " tmp = spark.sql("select count(*) from online.bl_hdfs_maidian_updates "
...@@ -75,7 +74,6 @@ def cpc_click(x): ...@@ -75,7 +74,6 @@ def cpc_click(x):
total = [] total = []
sum = 0 sum = 0
date = (datetime.date.today() - datetime.timedelta(days=x)).strftime("%Y%m%d") date = (datetime.date.today() - datetime.timedelta(days=x)).strftime("%Y%m%d")
total.append(date)
print("美购搜索点击") print("美购搜索点击")
tmp = spark.sql("select count(*) from online.bl_hdfs_maidian_updates " tmp = spark.sql("select count(*) from online.bl_hdfs_maidian_updates "
......
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