#include #include #include namespace DB { namespace { struct RadiansName { static constexpr auto name = "radians"; }; Float64 radians(Float64 d) { Float64 radians = d * (M_PI / 180); return radians; } using FunctionRadians = FunctionMathUnary>; } REGISTER_FUNCTION(Radians) { factory.registerFunction({}, FunctionFactory::CaseInsensitive); } }