amorynan commented on code in PR #21495:
URL: https://github.com/apache/doris/pull/21495#discussion_r1264293298
##########
be/src/vec/functions/function_jsonb.cpp:
##########
@@ -526,8 +523,13 @@ struct JsonbExtractStringImpl {
int r_size = roffsets[i] - roffsets[i - 1];
const char* r_raw = reinterpret_cast<const
char*>(&rdata[roffsets[i - 1]]);
+ JsonbPath path;
+ if (!path.seek(r_raw, r_size)) {
+ is_invalid_json_path = true;
Review Comment:
if is_invalid_json_path = true , whether we do not need to call
inner_loop_impl func ,and just push_null_string & return ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]