liqing-coder commented on code in PR #13741: URL: https://github.com/apache/doris/pull/13741#discussion_r1025208368
########## be/src/vec/functions/function_string.h: ########## @@ -1159,6 +1159,147 @@ class FunctionSplitPart : public IFunction { } }; +class FunctionSplitByString : public IFunction { + +/** + * explain :Used to split the string to get the offset and length of each element in the string + * parameter s :The string to be split + * parameter c :delimiter(type of string) + * parameter v_offset :A container used to store the offset of each element in a string + * parameter v_charlen :A container used to store the length of each element +*/ +private: + void getOffsetsAndLen(const std::string& s, const std::string& c, std::vector<size_t>& v_offset, std::vector<size_t>& v_charlen) { Review Comment: done -- 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