[fix](function) fixed the get_json_string function (#32150)
This commit is contained in:
@ -41,6 +41,7 @@
|
||||
#include "common/compiler_util.h" // IWYU pragma: keep
|
||||
#include "common/status.h"
|
||||
#include "exprs/json_functions.h"
|
||||
#include "vec/io/io_helper.h"
|
||||
#ifdef __AVX2__
|
||||
#include "util/jsonb_parser_simd.h"
|
||||
#else
|
||||
@ -516,7 +517,7 @@ struct GetJsonString {
|
||||
rapidjson::Value* root = nullptr;
|
||||
|
||||
root = get_json_object<JSON_FUN_STRING>(json_string, path_string, &document);
|
||||
const int max_string_len = 65535;
|
||||
const int max_string_len = DEFAULT_MAX_JSON_SIZE;
|
||||
|
||||
if (root == nullptr || root->IsNull()) {
|
||||
StringOP::push_null_string(index_now, res_data, res_offsets, null_map);
|
||||
|
||||
Reference in New Issue
Block a user