fix transform() example

This commit is contained in:
alexeyerm 2022-10-21 19:47:38 +03:00 committed by GitHub
parent 930c60d71e
commit d25ecb9f0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,7 +237,7 @@ ORDER BY c DESC
``` 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)