From fc3514ca1ac884f3805b362c8da65527bab1f0c7 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 27 Aug 2022 03:13:53 +0200 Subject: [PATCH] Maybe better --- tests/clickhouse-test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/clickhouse-test b/tests/clickhouse-test index debc13b6b9d..65004f39a62 100755 --- a/tests/clickhouse-test +++ b/tests/clickhouse-test @@ -1715,11 +1715,11 @@ def removesuffix(text, *suffixes): def reportCoverageFor(args, what, query): - value = clickhouse_execute(args, query) + value = clickhouse_execute(args, query).decode() if value != "": print(f"\nThe following {what} were not covered by tests:\n") - print(value.decode()) + print(value) print("\n") @@ -1775,7 +1775,7 @@ def reportCoverage(args): """ SELECT name FROM system.data_type_families - WHERE alias_to = '' + WHERE alias_to = '' AND name NOT LIKE 'Interval%' AND name NOT IN ( SELECT arrayJoin(used_data_type_families) FROM system.query_log WHERE event_date >= yesterday()