yangzhg commented on a change in pull request #8364:
URL: https://github.com/apache/incubator-doris/pull/8364#discussion_r820614209



##########
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:
        there is already have split in the util, refer to 
be/src/util/string_util.h or gutils




-- 
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

Reply via email to