Commit ff6137e7 authored by litaolemo's avatar litaolemo

update

parent 1ca4bf02
...@@ -201,15 +201,15 @@ for redis_count,spark_res in enumerate(sql_res): ...@@ -201,15 +201,15 @@ for redis_count,spark_res in enumerate(sql_res):
if redis_count % 5000 == 0: if redis_count % 5000 == 0:
print(redis_count,bulk_dict) print(redis_count,bulk_dict)
# print(second_demands_tag_count,projects_demands_tag_count) # print(second_demands_tag_count,projects_demands_tag_count)
print(total_tag_count)
print(bulk_dict) # print(bulk_dict)
#
print("second_demands_tag_count",second_demands_tag_count) # print("second_demands_tag_count",second_demands_tag_count)
print("projects_demands_tag_count",projects_demands_tag_count) # print("projects_demands_tag_count",projects_demands_tag_count)
with open("log.log","w",encoding='utf-8') as f: with open("log.log","w",encoding='utf-8') as f:
f.write(bulk_dict) f.write(total_tag_count)
f.write(second_demands_tag_count) # f.write(second_demands_tag_count)
f.write(projects_demands_tag_count) # f.write(projects_demands_tag_count)
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