Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
liutang123 committed Oct 10, 2024
1 parent 88061ae commit 7ef7457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/vec/functions/function_jsonb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ class FunctionJsonSearch : public IFunction {
continue;
}
const auto& json_doc = col_json_string(i);
if (!parser.parse(json_doc.data, json_doc.size, root_element)) {
if (!parser.parse({json_doc.data, json_doc.size}, root_element)) {
return Status::InvalidArgument(
"the json_doc argument {} is not a valid json document", json_doc);
}
Expand Down

0 comments on commit 7ef7457

Please sign in to comment.