You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
We have observed that the cursor doesn't respond/raise exceptions when a query is cancelled in the backend it just hangs (keeps on running)
I don't see any solutions online.
Any idea on how to handle this?
conn= connection(connection_params)
cursor = conn.cursor()
c = cursor.execute(query)
print(c)
print(c.query_id)
print("query executed")
query_id = cursor.query_id
print(f"In query: {query_id}")
result = cursor.fetchmany_arrow(100000)
if not result:
raise Exception("No results")
query_id = cursor.query_id
print(f"In query: {query_id}")
The text was updated successfully, but these errors were encountered:
Hi Team,
We have observed that the cursor doesn't respond/raise exceptions when a query is cancelled in the backend it just hangs (keeps on running)
I don't see any solutions online.
Any idea on how to handle this?
The text was updated successfully, but these errors were encountered: