Skip to content

Commit

Permalink
Merge pull request #228 from tigergraph/227-run-loading-job-raises-ex…
Browse files Browse the repository at this point in the history
…ception-on-newer-versions

227 run loading job raises exception on newer versions
  • Loading branch information
billshitg authored May 21, 2024
2 parents 6a59b2d + 1098946 commit e3a3f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyTigerGraph/pyTigerGraphGSQL.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_error(query: str, resp: str) -> None:
if "Successfully created loading jobs" not in resp:
raise TigerGraphException(resp)
if "RUN LOADING JOB" in query.upper():
if "LOAD SUCCESSFUL to TigerGraph" not in resp:
if "LOAD SUCCESSFUL" not in resp:
raise TigerGraphException(resp)

def clean_res(resp: list) -> str:
Expand Down

0 comments on commit e3a3f80

Please sign in to comment.