1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-5625: Fixes json_query implementation

Also extends func_json_value.test.
This commit is contained in:
Serguey Zefirov
2023-11-30 09:22:36 +03:00
committed by Leonid Fedorov
parent db0c328c80
commit 1935c9c1da
4 changed files with 71 additions and 7 deletions

View File

@ -405,7 +405,7 @@ class Func_json_value : public Func_Str, public JSONPathWrapper
/** @brief Func_json_query class
*/
class Func_json_query : public Func_Str, public JSONPathWrapper
class Func_json_query : public Func_Str
{
public:
Func_json_query() : Func_Str("json_query")
@ -415,11 +415,6 @@ class Func_json_query : public Func_Str, public JSONPathWrapper
{
}
bool checkAndGetValue(JSONEgWrapper* je, string& res, int* error) override
{
return je->checkAndGetComplexVal(res, error);
}
execplan::CalpontSystemCatalog::ColType operationType(
FunctionParm& fp, execplan::CalpontSystemCatalog::ColType& resultType) override;