mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Lowercase
This commit is contained in:
parent
799a1f177e
commit
b66e0401f6
@ -19,7 +19,7 @@ struct ExtractBool
|
||||
struct NameVisitParamExtractBool { static constexpr auto name = "visitParamExtractBool"; };
|
||||
using FunctionVisitParamExtractBool = FunctionsStringSearch<ExtractParamImpl<ExtractBool>, NameVisitParamExtractBool>;
|
||||
|
||||
struct NameSimpleJSONExtractBool { static constexpr auto name = "SimpleJSONExtractBool"; };
|
||||
struct NameSimpleJSONExtractBool { static constexpr auto name = "simpleJSONExtractBool"; };
|
||||
using FunctionSimpleJSONExtractBool = FunctionsStringSearch<ExtractParamImpl<ExtractBool>, NameSimpleJSONExtractBool>;
|
||||
|
||||
void registerFunctionVisitParamExtractBool(FunctionFactory & factory)
|
||||
|
@ -9,7 +9,7 @@ namespace DB
|
||||
struct NameVisitParamExtractFloat { static constexpr auto name = "visitParamExtractFloat"; };
|
||||
using FunctionVisitParamExtractFloat = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<Float64>>, NameVisitParamExtractFloat>;
|
||||
|
||||
struct NameSimpleJSONExtractFloat { static constexpr auto name = "SimpleJSONExtractFloat"; };
|
||||
struct NameSimpleJSONExtractFloat { static constexpr auto name = "simpleJSONExtractFloat"; };
|
||||
using FunctionSimpleJSONExtractFloat = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<Float64>>, NameSimpleJSONExtractFloat>;
|
||||
|
||||
void registerFunctionVisitParamExtractFloat(FunctionFactory & factory)
|
||||
|
@ -9,7 +9,7 @@ namespace DB
|
||||
struct NameVisitParamExtractInt { static constexpr auto name = "visitParamExtractInt"; };
|
||||
using FunctionVisitParamExtractInt = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<Int64>>, NameVisitParamExtractInt>;
|
||||
|
||||
struct NameSimpleJSONExtractInt { static constexpr auto name = "SimpleJSONExtractInt"; };
|
||||
struct NameSimpleJSONExtractInt { static constexpr auto name = "simpleJSONExtractInt"; };
|
||||
using FunctionSimpleJSONExtractInt = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<Int64>>, NameSimpleJSONExtractInt>;
|
||||
|
||||
void registerFunctionVisitParamExtractInt(FunctionFactory & factory)
|
||||
|
@ -59,7 +59,7 @@ struct ExtractRaw
|
||||
struct NameVisitParamExtractRaw { static constexpr auto name = "visitParamExtractRaw"; };
|
||||
using FunctionVisitParamExtractRaw = FunctionsStringSearchToString<ExtractParamToStringImpl<ExtractRaw>, NameVisitParamExtractRaw>;
|
||||
|
||||
struct NameSimpleJSONExtractRaw { static constexpr auto name = "SimpleJSONExtractRaw"; };
|
||||
struct NameSimpleJSONExtractRaw { static constexpr auto name = "simpleJSONExtractRaw"; };
|
||||
using FunctionSimpleJSONExtractRaw = FunctionsStringSearchToString<ExtractParamToStringImpl<ExtractRaw>, NameSimpleJSONExtractRaw>;
|
||||
|
||||
void registerFunctionVisitParamExtractRaw(FunctionFactory & factory)
|
||||
|
@ -20,7 +20,7 @@ struct ExtractString
|
||||
struct NameVisitParamExtractString { static constexpr auto name = "visitParamExtractString"; };
|
||||
using FunctionVisitParamExtractString = FunctionsStringSearchToString<ExtractParamToStringImpl<ExtractString>, NameVisitParamExtractString>;
|
||||
|
||||
struct NameSimpleJSONExtractString { static constexpr auto name = "SimpleJSONExtractString"; };
|
||||
struct NameSimpleJSONExtractString { static constexpr auto name = "simpleJSONExtractString"; };
|
||||
using FunctionSimpleJSONExtractString = FunctionsStringSearchToString<ExtractParamToStringImpl<ExtractString>, NameSimpleJSONExtractString>;
|
||||
|
||||
void registerFunctionVisitParamExtractString(FunctionFactory & factory)
|
||||
|
@ -9,7 +9,7 @@ namespace DB
|
||||
struct NameVisitParamExtractUInt { static constexpr auto name = "visitParamExtractUInt"; };
|
||||
using FunctionVisitParamExtractUInt = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<UInt64>>, NameVisitParamExtractUInt>;
|
||||
|
||||
struct NameSimpleJSONExtractUInt { static constexpr auto name = "SimpleJSONExtractUInt"; };
|
||||
struct NameSimpleJSONExtractUInt { static constexpr auto name = "simpleJSONExtractUInt"; };
|
||||
using FunctionSimpleJSONExtractUInt = FunctionsStringSearch<ExtractParamImpl<ExtractNumericType<UInt64>>, NameSimpleJSONExtractUInt>;
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ struct HasParam
|
||||
struct NameVisitParamHas { static constexpr auto name = "visitParamHas"; };
|
||||
using FunctionVisitParamHas = FunctionsStringSearch<ExtractParamImpl<HasParam>, NameVisitParamHas>;
|
||||
|
||||
struct NameSimpleJSONHas { static constexpr auto name = "SimpleJSONHas"; };
|
||||
struct NameSimpleJSONHas { static constexpr auto name = "simpleJSONHas"; };
|
||||
using FunctionSimpleJSONHas = FunctionsStringSearch<ExtractParamImpl<HasParam>, NameSimpleJSONHas>;
|
||||
|
||||
void registerFunctionVisitParamHas(FunctionFactory & factory)
|
||||
|
@ -16,10 +16,10 @@ SELECT visitParamExtractRaw('{"myparam": "["}', 'myparam');
|
||||
SELECT visitParamExtractRaw('{"myparam": ["]", "2", "3"], "other":123}', 'myparam');
|
||||
SELECT visitParamExtractRaw('{"myparam": {"nested" : [1,2,3]}, "other":123}', 'myparam');
|
||||
|
||||
SELECT SimpleJSONExtractInt('{"myparam":-1}', 'myparam');
|
||||
SELECT SimpleJSONExtractUInt('{"myparam":-1}', 'myparam');
|
||||
SELECT SimpleJSONExtractFloat('{"myparam":null}', 'myparam');
|
||||
SELECT SimpleJSONExtractFloat('{"myparam":-1}', 'myparam');
|
||||
SELECT SimpleJSONExtractBool('{"myparam":true}', 'myparam');
|
||||
SELECT SimpleJSONExtractString('{"myparam":"test_string"}', 'myparam');
|
||||
SELECT SimpleJSONExtractString('{"myparam":"test\\"string"}', 'myparam');
|
||||
SELECT simpleJSONExtractInt('{"myparam":-1}', 'myparam');
|
||||
SELECT simpleJSONExtractUInt('{"myparam":-1}', 'myparam');
|
||||
SELECT simpleJSONExtractFloat('{"myparam":null}', 'myparam');
|
||||
SELECT simpleJSONExtractFloat('{"myparam":-1}', 'myparam');
|
||||
SELECT simpleJSONExtractBool('{"myparam":true}', 'myparam');
|
||||
SELECT simpleJSONExtractString('{"myparam":"test_string"}', 'myparam');
|
||||
SELECT simpleJSONExtractString('{"myparam":"test\\"string"}', 'myparam');
|
||||
|
Loading…
Reference in New Issue
Block a user