From ff6137e7bb7e777d8f07a1772c579867b46a8ef1 Mon Sep 17 00:00:00 2001
From: litaolemo <593516104@qq.com>
Date: Thu, 17 Sep 2020 20:03:35 +0800
Subject: [PATCH] update
---
output/output_article_distribution_0917.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/output/output_article_distribution_0917.py b/output/output_article_distribution_0917.py
index 7f41dc2..8acbddf 100644
--- a/output/output_article_distribution_0917.py
+++ b/output/output_article_distribution_0917.py
@@ -201,15 +201,15 @@ for redis_count,spark_res in enumerate(sql_res):
if redis_count % 5000 == 0:
print(redis_count,bulk_dict)
# print(second_demands_tag_count,projects_demands_tag_count)
-
-print(bulk_dict)
-
-print("second_demands_tag_count",second_demands_tag_count)
-print("projects_demands_tag_count",projects_demands_tag_count)
+print(total_tag_count)
+# print(bulk_dict)
+#
+# print("second_demands_tag_count",second_demands_tag_count)
+# print("projects_demands_tag_count",projects_demands_tag_count)
with open("log.log","w",encoding='utf-8') as f:
- f.write(bulk_dict)
- f.write(second_demands_tag_count)
- f.write(projects_demands_tag_count)
+ f.write(total_tag_count)
+ # f.write(second_demands_tag_count)
+ # f.write(projects_demands_tag_count)
--
2.18.0