Merge pull request #61821 from ClickHouse/fix-log-exception-message-formatting

Fix test "00002_log_and_exception_messages_formatting"
This commit is contained in:
Alexey Milovidov 2024-03-24 04:09:48 +03:00 committed by GitHub
commit f4d5821637
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,13 +56,13 @@ SELECT
WHERE
length(message_format_string) = 0
AND (message like '%DB::Exception%' or message like '%Coordination::Exception%')
AND message not like '% Received from %' and message not like '%(SYNTAX_ERROR)%'
AND message not like '% Received from %' and message not like '%(SYNTAX_ERROR)%' and message not like '%Fault injection%'
GROUP BY message ORDER BY c LIMIT 10
))
FROM logs
WHERE
(message like '%DB::Exception%' or message like '%Coordination::Exception%')
AND message not like '% Received from %' and message not like '%(SYNTAX_ERROR)%';
AND message not like '% Received from %' and message not like '%(SYNTAX_ERROR)%' and message not like '%Fault injection%';
-- FIXME some of the following messages are not informative and it has to be fixed