fix: Remove unwanted commit on Trino's handle_cursor (#31154)
This commit is contained in:
parent
5256a2f194
commit
547a4adef5
|
|
@ -216,8 +216,6 @@ class TrinoEngineSpec(PrestoBaseEngineSpec):
|
|||
if tracking_url := cls.get_tracking_url(cursor):
|
||||
query.tracking_url = tracking_url
|
||||
|
||||
db.session.commit()
|
||||
|
||||
# if query cancelation was requested prior to the handle_cursor call, but
|
||||
# the query was still executed, trigger the actual query cancelation now
|
||||
if query.extra.get(QUERY_EARLY_CANCEL_KEY):
|
||||
|
|
|
|||
Loading…
Reference in New Issue