dataroaring commented on code in PR #13336: URL: https://github.com/apache/doris/pull/13336#discussion_r994419637
########## be/src/exec/json_scanner.cpp: ########## @@ -343,6 +346,8 @@ Status JsonReader::_parse_json_doc(size_t* size, bool* eof) { return Status::OK(); } + // clear memory here. + _origin_json_doc.GetAllocator().Clear(); Review Comment: It should work either. Just a pointer variable as a member. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org