mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
31 lines
1.3 KiB
SQL
31 lines
1.3 KiB
SQL
SELECT
|
|
firstSignificantSubdomain('http://hello.canada.ca') AS canada,
|
|
firstSignificantSubdomain('http://hello.congo.com') AS congo,
|
|
firstSignificantSubdomain('http://pochemu.net-domena.ru') AS why;
|
|
|
|
SELECT
|
|
firstSignificantSubdomain('ftp://www.meta.com.ua/news.html'),
|
|
firstSignificantSubdomain('https://www.bigmir.net/news.html'),
|
|
firstSignificantSubdomain('magnet:ukr.abc'),
|
|
firstSignificantSubdomain('ftp://www.yahoo.co.jp/news.html'),
|
|
firstSignificantSubdomain('https://api.www3.static.dev.ввв.гугл.ком'),
|
|
firstSignificantSubdomain('//www.meta.com.ua/news.html');
|
|
|
|
SELECT
|
|
firstSignificantSubdomain('http://hello.canada.c'),
|
|
firstSignificantSubdomain('http://hello.canada.'),
|
|
firstSignificantSubdomain('http://hello.canada'),
|
|
firstSignificantSubdomain('http://hello.c'),
|
|
firstSignificantSubdomain('http://hello.'),
|
|
firstSignificantSubdomain('http://hello'),
|
|
firstSignificantSubdomain('http://'),
|
|
firstSignificantSubdomain('http:/'),
|
|
firstSignificantSubdomain('http:'),
|
|
firstSignificantSubdomain('http'),
|
|
firstSignificantSubdomain('h'),
|
|
firstSignificantSubdomain('.'),
|
|
firstSignificantSubdomain(''),
|
|
firstSignificantSubdomain('http://hello.canada..com'),
|
|
firstSignificantSubdomain('http://hello..canada.com'),
|
|
firstSignificantSubdomain('http://hello.canada.com.');
|