issue-7224 Fix failing tests

This commit is contained in:
Nikita Orlov 2020-05-23 13:45:27 +03:00
parent 09255b7c46
commit d06e7bab7e
No known key found for this signature in database
GPG Key ID: 5EC6AFD56F125B5F

View File

@ -18,7 +18,7 @@ SELECT current_value - previous_value
FROM ( FROM (
SELECT event, value as current_value FROM system.events WHERE event like 'FailedInsertQuery' SELECT event, value as current_value FROM system.events WHERE event like 'FailedInsertQuery'
) AS previous ) AS previous
ALL JOIN ( ALL LEFT JOIN (
SELECT event, value as previous_value FROM current_failed_query_metrics SELECT event, value as previous_value FROM current_failed_query_metrics
) AS current ) AS current
on previous.event = current.event; on previous.event = current.event;
@ -31,7 +31,7 @@ SELECT current_value - previous_value
FROM ( FROM (
SELECT event, value as current_value FROM system.events WHERE event like 'FailedInsertQuery' SELECT event, value as current_value FROM system.events WHERE event like 'FailedInsertQuery'
) AS previous ) AS previous
ALL JOIN ( ALL LEFT JOIN (
SELECT event, value as previous_value FROM current_failed_query_metrics SELECT event, value as previous_value FROM current_failed_query_metrics
) AS current ) AS current
on previous.event = current.event; on previous.event = current.event;
@ -44,7 +44,7 @@ SELECT current_value - previous_value
FROM ( FROM (
SELECT event, value as current_value FROM system.events WHERE event like 'FailedSelectQuery' SELECT event, value as current_value FROM system.events WHERE event like 'FailedSelectQuery'
) AS previous ) AS previous
ALL JOIN ( ALL LEFT JOIN (
SELECT event, value as previous_value FROM current_failed_query_metrics SELECT event, value as previous_value FROM current_failed_query_metrics
) AS current ) AS current
on previous.event = current.event; on previous.event = current.event;
@ -56,7 +56,7 @@ SELECT current_value - previous_value
FROM ( FROM (
SELECT event, value as current_value FROM system.events WHERE event like 'FailedSelectQuery' SELECT event, value as current_value FROM system.events WHERE event like 'FailedSelectQuery'
) AS previous ) AS previous
ALL JOIN ( ALL LEFT JOIN (
SELECT event, value as previous_value FROM current_failed_query_metrics SELECT event, value as previous_value FROM current_failed_query_metrics
) AS current ) AS current
on previous.event = current.event; on previous.event = current.event;