mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
20 lines
721 B
C++
20 lines
721 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/CastOverloadResolver.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
void registerCastOverloadResolvers(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<CastInternalOverloadResolver<CastType::nonAccurate>>(FunctionFactory::CaseInsensitive);
|
|
factory.registerFunction<CastInternalOverloadResolver<CastType::accurate>>();
|
|
factory.registerFunction<CastInternalOverloadResolver<CastType::accurateOrNull>>();
|
|
|
|
factory.registerFunction<CastOverloadResolver<CastType::nonAccurate>>(FunctionFactory::CaseInsensitive);
|
|
factory.registerFunction<CastOverloadResolver<CastType::accurate>>();
|
|
factory.registerFunction<CastOverloadResolver<CastType::accurateOrNull>>();
|
|
}
|
|
|
|
}
|