1#include <Functions/FunctionMathUnary.h>
2#include <Functions/FunctionFactory.h>
3
4namespace DB
5{
6
7struct SqrtName { static constexpr auto name = "sqrt"; };
8using FunctionSqrt = FunctionMathUnary<UnaryFunctionVectorized<SqrtName, sqrt>>;
9
10void registerFunctionSqrt(FunctionFactory & factory)
11{
12 factory.registerFunction<FunctionSqrt>(FunctionFactory::CaseInsensitive);
13}
14
15}
16