diff --git a/superset/db_engine_specs/trino.py b/superset/db_engine_specs/trino.py index e42358f74ea56..0eaa67f0fc180 100644 --- a/superset/db_engine_specs/trino.py +++ b/superset/db_engine_specs/trino.py @@ -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):