Merge pull request #58170 from ClickHouse/tavplubix-patch-12-1

Update clickhouse-test
This commit is contained in:
Alexey Milovidov 2023-12-23 01:39:29 +01:00 committed by GitHub
commit 1c31bb110e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2307,7 +2307,7 @@ def reportLogStats(args):
'Attempt to read after eof', 'String size is too big ({}), maximum: {}'
) AS known_short_messages
SELECT count() AS c, message_format_string, substr(any(message), 1, 120),
min(if(notEmpty(regexpExtract(message, '(.*)\\([A-Z0-9_]+\\)') as prefix), prefix, length(message)) - 26 AS length_without_exception_boilerplate) AS min_length_without_exception_boilerplate
min(if(length(regexpExtract(message, '(.*)\\([A-Z0-9_]+\\)')) as prefix_len > 0, prefix_len, length(message)) - 26 AS length_without_exception_boilerplate) AS min_length_without_exception_boilerplate
FROM system.text_log
WHERE (now() - toIntervalMinute(240)) < event_time
AND (length(message_format_string) < 16