mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
48645eae33
Sometimes it is odd to get TLD itself from the cutToFirstSignificantSubdomain() (since you will not get TLD itself if you pass it directly): - cutToFirstSignificantSubdomain('org') -> "" - cutToFirstSignificantSubdomain('www.org') -> org - cutToFirstSignificantSubdomain('kernel.org') -> kernel.org - cutToFirstSignificantSubdomain('www.kernel.org') -> kernel.org So add one more function to get www.org in this case: - cutToFirstSignificantSubdomainWithWWW('org') -> "" - cutToFirstSignificantSubdomainWithWWW('www.org') -> www.org - cutToFirstSignificantSubdomainWithWWW('kernel.org') -> kernel.org - cutToFirstSignificantSubdomainWithWWW('www.kernel.org') -> kernel.org P.S. not sure about the naming though, so it will great if someone has suggestion for the name. |
||
---|---|---|
.. | ||
geo | ||
arithmetic-functions.md | ||
array-functions.md | ||
array-join.md | ||
bit-functions.md | ||
bitmap-functions.md | ||
comparison-functions.md | ||
conditional-functions.md | ||
date-time-functions.md | ||
encoding-functions.md | ||
encryption-functions.md | ||
ext-dict-functions.md | ||
functions-for-nulls.md | ||
hash-functions.md | ||
in-functions.md | ||
index.md | ||
introspection.md | ||
ip-address-functions.md | ||
json-functions.md | ||
logical-functions.md | ||
machine-learning-functions.md | ||
math-functions.md | ||
other-functions.md | ||
random-functions.md | ||
rounding-functions.md | ||
splitting-merging-functions.md | ||
string-functions.md | ||
string-replace-functions.md | ||
string-search-functions.md | ||
tuple-map-functions.md | ||
type-conversion-functions.md | ||
url-functions.md | ||
uuid-functions.md | ||
ym-dict-functions.md |