Skip to content

Commit

Permalink
PR comments resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtimanmishrazipstack committed Jun 14, 2024
1 parent d3a783a commit 4d071e9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,9 @@ def execute_query(
try:
if sql_values:
query_job = engine.query(sql_query, job_config=sql_values)
query_job.result()
else:
query_job = engine.query(sql_query)
query_job.result()
query_job.result()
except google.api_core.exceptions.Forbidden as e:
logger.error(f"Forbidden exception in creating/inserting data: {str(e)}")
raise BigQueryForbiddenException(
Expand Down

0 comments on commit 4d071e9

Please sign in to comment.