ClickHouse/src/Functions/CastOverloadResolver.cpp
2021-08-11 19:09:51 +00:00

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>>();
}
}