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

change test file

parent 84bbfd16
......@@ -158,8 +158,11 @@ if __name__ == '__main__':
print(all_dart_dirs)
a = []
for i in all_dart_dirs:
if str(i).split("/")[4][:4] == "part":
print(str(i).split("/")[4][:-1])
b = str(i).split("/")[4][:4]
if b == "part":
a.append(b[:-1])
# print(str(i).split("/")[4][:-1])
print(a)
# d = spark.textFile("hdfs://172.16.32.4:8020/strategy/esmm/tr").collect()
# print(d)
......
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