Skip to content

Commit

Permalink
fix(sqllab): Bugfix for tracking url transformation (#17263)
Browse files Browse the repository at this point in the history
* Bugfix for tracking url transformation

* Fix linting
  • Loading branch information
CodeingBoy committed Nov 11, 2021
1 parent 6431225 commit 2544a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/db_engine_specs/hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ def handle_cursor( # pylint: disable=too-many-locals
str(query_id),
tracking_url,
)
tracking_url = current_app.config["TRACKING_URL_TRANSFORMER"]
transformer = current_app.config["TRACKING_URL_TRANSFORMER"]
tracking_url = transformer(tracking_url)
logger.info(
"Query %s: Transformation applied: %s",
str(query_id),
Expand Down

0 comments on commit 2544a4a

Please sign in to comment.