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

change test file

parent a1fcf4f3
...@@ -22,6 +22,7 @@ def test(): ...@@ -22,6 +22,7 @@ def test():
def esmm_pre(): def esmm_pre():
yesterday = (datetime.date.today() - datetime.timedelta(days=1)).strftime("%Y-%m-%d") yesterday = (datetime.date.today() - datetime.timedelta(days=1)).strftime("%Y-%m-%d")
print(yesterday) print(yesterday)
addresses = "10.66.157.22:2379"
spark = SparkSession.builder.enableHiveSupport().getOrCreate() spark = SparkSession.builder.enableHiveSupport().getOrCreate()
# gw = SparkContext._gateway # gw = SparkContext._gateway
......
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