mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
916cbd6610
v2: Add a note that top_level_domains_lists aren not applied w/o restart v3: Remove ExtractFirstSignificantSubdomain{Default,Custom}Lookup.h headers v4: TLDListsHolder: remove FIXME for dense_hash_map (this is not significant)
19 lines
601 B
C++
19 lines
601 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include "ExtractFirstSignificantSubdomain.h"
|
|
#include "FirstSignificantSubdomainCustomImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct NameFirstSignificantSubdomainCustom { static constexpr auto name = "firstSignificantSubdomainCustom"; };
|
|
|
|
using FunctionFirstSignificantSubdomainCustom = FunctionCutToFirstSignificantSubdomainCustomImpl<ExtractFirstSignificantSubdomain<true>, NameFirstSignificantSubdomainCustom>;
|
|
|
|
void registerFunctionFirstSignificantSubdomainCustom(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionFirstSignificantSubdomainCustom>();
|
|
}
|
|
|
|
}
|