fix transform() example

This commit is contained in:
alexeyerm 2022-10-21 19:44:35 +03:00 committed by GitHub
parent 6e15b20c40
commit 95943dbdda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -571,7 +571,7 @@ Example:
``` sql
SELECT
transform(domain(Referer), ['yandex.ru', 'google.ru', 'vk.com'], ['www.yandex', 'example.com']) AS s,
transform(domain(Referer), ['yandex.ru', 'google.ru', 'vkontakte.ru'], ['www.yandex', 'example.com', 'vk.com'] AS s,
count() AS c
FROM test.hits
GROUP BY domain(Referer)