Skip to content

Commit

Permalink
fix: Remove unwanted commit on Trino's handle_cursor (apache#31154)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Nov 25, 2024
1 parent 5256a2f commit 547a4ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions superset/db_engine_specs/trino.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ def handle_cursor(cls, cursor: Cursor, query: Query) -> None:
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):
Expand Down

0 comments on commit 547a4ad

Please sign in to comment.