mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
try fix tests
This commit is contained in:
parent
0342e80405
commit
2efa7a51ff
@ -26,11 +26,11 @@ select cutToFirstSignificantSubdomainCustom('foo.kernel.biz.ss', 'public_suffix_
|
||||
kernel.biz.ss
|
||||
select '-- difference';
|
||||
-- difference
|
||||
-- biz.ss is not in the default TLD list, hence:
|
||||
select cutToFirstSignificantSubdomain('foo.kernel.biz.ss'); -- biz.ss
|
||||
biz.ss
|
||||
select cutToFirstSignificantSubdomainCustom('foo.kernel.biz.ss', 'public_suffix_list'); -- kernel.biz.ss
|
||||
kernel.biz.ss
|
||||
-- dev.ss is not in the default TLD list, hence:
|
||||
select cutToFirstSignificantSubdomain('foo.kernel.dev.ss'); -- dev.ss
|
||||
dev.ss
|
||||
select cutToFirstSignificantSubdomainCustom('foo.kernel.dev.ss', 'public_suffix_list'); -- kernel.dev.ss
|
||||
dev.ss
|
||||
select '-- 3+level';
|
||||
-- 3+level
|
||||
select cutToFirstSignificantSubdomainCustom('xx.blogspot.co.at', 'public_suffix_list'); -- xx.blogspot.co.at
|
||||
@ -115,11 +115,11 @@ select cutToFirstSignificantSubdomainCustomRFC('foo.kernel.biz.ss', 'public_suff
|
||||
kernel.biz.ss
|
||||
select '-- difference';
|
||||
-- difference
|
||||
-- biz.ss is not in the default TLD list, hence:
|
||||
select cutToFirstSignificantSubdomainRFC('foo.kernel.biz.ss'); -- biz.ss
|
||||
biz.ss
|
||||
select cutToFirstSignificantSubdomainCustomRFC('foo.kernel.biz.ss', 'public_suffix_list'); -- kernel.biz.ss
|
||||
kernel.biz.ss
|
||||
-- dev.ss is not in the default TLD list, hence:
|
||||
select cutToFirstSignificantSubdomainRFC('foo.kernel.dev.ss'); -- dev.ss
|
||||
dev.ss
|
||||
select cutToFirstSignificantSubdomainCustomRFC('foo.kernel.dev.ss', 'public_suffix_list'); -- kernel.dev.ss
|
||||
dev.ss
|
||||
select '-- 3+level';
|
||||
-- 3+level
|
||||
select cutToFirstSignificantSubdomainCustomRFC('xx.blogspot.co.at', 'public_suffix_list'); -- xx.blogspot.co.at
|
||||
|
@ -18,9 +18,9 @@ select firstSignificantSubdomainCustom{{ suffix }}('foo.kernel.biz.ss', 'public_
|
||||
select cutToFirstSignificantSubdomainCustom{{ suffix }}('foo.kernel.biz.ss', 'public_suffix_list'); -- kernel.biz.ss
|
||||
|
||||
select '-- difference';
|
||||
-- biz.ss is not in the default TLD list, hence:
|
||||
select cutToFirstSignificantSubdomain{{ suffix }}('foo.kernel.biz.ss'); -- biz.ss
|
||||
select cutToFirstSignificantSubdomainCustom{{ suffix }}('foo.kernel.biz.ss', 'public_suffix_list'); -- kernel.biz.ss
|
||||
-- dev.ss is not in the default TLD list, hence:
|
||||
select cutToFirstSignificantSubdomain{{ suffix }}('foo.kernel.dev.ss'); -- dev.ss
|
||||
select cutToFirstSignificantSubdomainCustom{{ suffix }}('foo.kernel.dev.ss', 'public_suffix_list'); -- kernel.dev.ss
|
||||
|
||||
select '-- 3+level';
|
||||
select cutToFirstSignificantSubdomainCustom{{ suffix }}('xx.blogspot.co.at', 'public_suffix_list'); -- xx.blogspot.co.at
|
||||
|
@ -1 +1 @@
|
||||
biz.ss kernel.biz.ss
|
||||
dev.ss kernel.dev.ss
|
||||
|
@ -13,9 +13,9 @@ function clickhouse_local()
|
||||
$CLICKHOUSE_LOCAL "${opts[@]}" "$@"
|
||||
}
|
||||
|
||||
# -- biz.ss is not in the default TLD list, hence:
|
||||
# -- dev.ss is not in the default TLD list, hence:
|
||||
clickhouse_local -q "
|
||||
select
|
||||
cutToFirstSignificantSubdomain('foo.kernel.biz.ss'),
|
||||
cutToFirstSignificantSubdomainCustom('foo.kernel.biz.ss', 'public_suffix_list')
|
||||
cutToFirstSignificantSubdomain('foo.kernel.dev.ss'),
|
||||
cutToFirstSignificantSubdomainCustom('foo.kernel.dev.ss', 'public_suffix_list')
|
||||
" |& grep -v -e 'Processing configuration file'
|
||||
|
@ -1 +1 @@
|
||||
biz.ss
|
||||
dev.ss
|
||||
|
Loading…
Reference in New Issue
Block a user