Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support json_contains_path #8502

Merged
merged 17 commits into from
Dec 22, 2023
2 changes: 1 addition & 1 deletion dbms/src/Flash/Coprocessor/DAGUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ const std::unordered_map<tipb::ScalarFuncSig, String> scalar_func_map({
//{tipb::ScalarFuncSig::JsonArrayInsertSig, "cast"},
//{tipb::ScalarFuncSig::JsonMergePatchSig, "cast"},
//{tipb::ScalarFuncSig::JsonMergePreserveSig, "cast"},
//{tipb::ScalarFuncSig::JsonContainsPathSig, "cast"},
{tipb::ScalarFuncSig::JsonContainsPathSig, "json_contains_path"},
//{tipb::ScalarFuncSig::JsonPrettySig, "cast"},
//{tipb::ScalarFuncSig::JsonQuoteSig, "cast"},
//{tipb::ScalarFuncSig::JsonSearchSig, "cast"},
Expand Down
1 change: 1 addition & 0 deletions dbms/src/Functions/FunctionsJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ void registerFunctionsJson(FunctionFactory & factory)
factory.registerFunction<FunctionCastTimeAsJson>();
factory.registerFunction<FunctionCastDurationAsJson>();
factory.registerFunction<FunctionJsonDepth>();
factory.registerFunction<FunctionJsonContainsPath>();
factory.registerFunction<FunctionJsonValidOthers>();
factory.registerFunction<FunctionJsonValidJson>();
factory.registerFunction<FunctionJsonValidString>();
Expand Down
Loading