diff --git a/tests/queries/0_stateless/01281_failed_insert_select_queries_couner.sql b/tests/queries/0_stateless/01281_failed_insert_select_queries_couner.sql index a21d9130dae..f5efb2b56d5 100644 --- a/tests/queries/0_stateless/01281_failed_insert_select_queries_couner.sql +++ b/tests/queries/0_stateless/01281_failed_insert_select_queries_couner.sql @@ -18,7 +18,7 @@ SELECT current_value - previous_value FROM ( SELECT event, value as current_value FROM system.events WHERE event like 'FailedInsertQuery' ) AS previous -ALL JOIN ( +ALL LEFT JOIN ( SELECT event, value as previous_value FROM current_failed_query_metrics ) AS current on previous.event = current.event; @@ -31,7 +31,7 @@ SELECT current_value - previous_value FROM ( SELECT event, value as current_value FROM system.events WHERE event like 'FailedInsertQuery' ) AS previous -ALL JOIN ( +ALL LEFT JOIN ( SELECT event, value as previous_value FROM current_failed_query_metrics ) AS current on previous.event = current.event; @@ -44,7 +44,7 @@ SELECT current_value - previous_value FROM ( SELECT event, value as current_value FROM system.events WHERE event like 'FailedSelectQuery' ) AS previous -ALL JOIN ( +ALL LEFT JOIN ( SELECT event, value as previous_value FROM current_failed_query_metrics ) AS current on previous.event = current.event; @@ -56,7 +56,7 @@ SELECT current_value - previous_value FROM ( SELECT event, value as current_value FROM system.events WHERE event like 'FailedSelectQuery' ) AS previous -ALL JOIN ( +ALL LEFT JOIN ( SELECT event, value as previous_value FROM current_failed_query_metrics ) AS current on previous.event = current.event;