From 945df91fad424803450ddef854b16ef9b4e193eb Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Fri, 27 Sep 2024 13:05:00 -0500 Subject: [PATCH] chore(metrics): remove unnecesary logging --- .../aspects/apps/superset/pythonpath/performance_metrics.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py b/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py index 7ac99b070..c190dc831 100644 --- a/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py +++ b/tutoraspects/templates/aspects/apps/superset/pythonpath/performance_metrics.py @@ -228,10 +228,6 @@ def get_query_log_from_clickhouse(report, query_contexts, print_sql, fail_on_err parsed_sql = str(sqlparse.parse(row.pop("query"))[0]) clickhouse_queries[parsed_sql] = row - if print_sql: - logger.info("ClickHouse SQL: ") - logger.info(parsed_sql) - for k, chart_result in enumerate(report): for query in chart_result["queries"]: