fix: Remove unwanted commit on Trino's handle_cursor (#31154)

This commit is contained in:
Michael S. Molina 2024-11-25 17:42:31 -03:00 committed by GitHub
parent 5256a2f194
commit 547a4adef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -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):