Skip to content

Commit 44c525e

Browse files
committed
Remove faulty progress bar for remote write-back
As write-back uses a different jobId the computation jobId is wrong to use for update
1 parent df50db0 commit 44c525e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

graphdatascience/query_runner/session_query_runner.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,13 @@ def run_write_back() -> DataFrame:
202202
return write_protocol.run_write_back(self._db_query_runner, write_back_params, yields, terminationFlag)
203203

204204
try:
205-
if self._resolve_show_progress(logging):
206-
database_write_result = self._progress_logger.run_with_progress_logging(
207-
run_write_back, job_id, database
208-
)
209-
else:
210-
database_write_result = run_write_back()
205+
# Skipping progress for now as export has a different jobId
206+
# if self._resolve_show_progress(logging):
207+
# database_write_result = self._progress_logger.run_with_progress_logging(
208+
# run_write_back, job_id, database
209+
# )
210+
# else:
211+
database_write_result = run_write_back()
211212
except Exception as e:
212213
# catch the case nothing was needed to write-back (empty graph)
213214
# once we have the Arrow Endpoints V2, we could catch by first checking the jobs summary

0 commit comments

Comments
 (0)