mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
19 lines
569 B
C++
19 lines
569 B
C++
#include <Functions/FunctionFactory.h>
|
|
#include <Functions/FunctionsVisitParam.h>
|
|
#include <Functions/FunctionsStringSearch.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct NameSimpleJSONExtractFloat { static constexpr auto name = "simpleJSONExtractFloat"; };
|
|
using FunctionSimpleJSONExtractFloat = FunctionsStringSearch<ExtractParamImpl<NameSimpleJSONExtractFloat, ExtractNumericType<Float64>>>;
|
|
|
|
REGISTER_FUNCTION(VisitParamExtractFloat)
|
|
{
|
|
factory.registerFunction<FunctionSimpleJSONExtractFloat>();
|
|
factory.registerAlias("visitParamExtractFloat", "simpleJSONExtractFloat");
|
|
}
|
|
|
|
}
|