carlvinhust2012 commented on a change in pull request #8364: URL: https://github.com/apache/incubator-doris/pull/8364#discussion_r821251569
########## File path: be/src/exprs/utility_functions.cpp ########## @@ -39,4 +39,82 @@ BooleanVal UtilityFunctions::sleep(FunctionContext* ctx, const IntVal& seconds) return BooleanVal(true); } +static void convert_to_string(doris_udf::StringVal& src, std::string& str_dst) { + for (int i = 0; i < src.len; i++) { + str_dst += src.ptr[i]; + } + return; +} + +static BooleanVal split_string(std::string& str_src, std::vector<std::string>& str_vec_dst) { Review comment: I will re-check this split function. -- 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