Minor fixups of #70011 and #69918

This commit is contained in:
Robert Schulze 2024-10-23 09:46:20 +00:00
parent d02a31da44
commit 6a374cb418
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A
5 changed files with 3 additions and 9 deletions

View File

@ -33,7 +33,7 @@ The tags or attributes are saved as two parallel arrays, containing the keys and
## Log-query-settings
ClickHouse allows you to log changes to query settings during query execution. When enabled, any modifications made to query settings will be recorded in the OpenTelemetry span log. This feature is particularly useful in production environments for tracking configuration changes that may affect query performance.
Setting [log_query_settings](settings/settings.md) allows log changes to query settings during query execution. When enabled, any modifications made to query settings will be recorded in the OpenTelemetry span log. This feature is particularly useful in production environments for tracking configuration changes that may affect query performance.
## Integration with monitoring systems

View File

@ -190,6 +190,3 @@ __.__ o_.__ o_.__ 1
__. o_. o_. 1
__.__ o_.__ o_.__ 1
__.__ o_.__ o_.__ 1
ABCabc
ABCabc
ABCabc

View File

@ -99,6 +99,3 @@ SELECT s, replaceOne(s, '_', 'o') AS a, replaceRegexpOne(s, '_', 'o') AS b, a =
SELECT s, replaceOne(s, '_', 'o') AS a, replaceRegexpOne(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '.__']) AS s);
SELECT s, replaceOne(s, '_', 'o') AS a, replaceRegexpOne(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '__.']) AS s);
SELECT s, replaceOne(s, '_', 'o') AS a, replaceRegexpOne(s, '_', 'o') AS b, a = b FROM (SELECT arrayJoin(['__.__', '__.__']) AS s);
SELECT replace('ABCabc', '', 'DEF');
SELECT replace(materialize('ABCabc'), materialize(''), 'DEF');
SELECT replace(materialize('ABCabc'), '', 'DEF');

View File

@ -134,7 +134,7 @@
3 Hello World not_found x Hello World
4 Hello World [eo] x Hxllo World
5 Hello World . x xello World
Check that whether an exception is thrown if the needle is empty
Check the behavior with empty needles
Hexxo Worxd
Hello World
Hexlo World

View File

@ -70,7 +70,7 @@ SELECT id, haystack, needle, replacement, replaceRegexpOne('Hello World', needle
DROP TABLE IF EXISTS test_tab;
SELECT 'Check that whether an exception is thrown if the needle is empty';
SELECT 'Check the behavior with empty needles';
CREATE TABLE test_tab
(id UInt32, haystack String, needle String, replacement String)