yiguolei commented on code in PR #41681: URL: https://github.com/apache/doris/pull/41681#discussion_r1796704190
########## be/src/vec/functions/function_string.cpp: ########## @@ -535,6 +545,42 @@ struct TrimUtil { return Status::OK(); } }; +template <bool is_ltrim_in, bool is_rtrim_in, bool trim_single> +struct TrimInUtil { + static Status vector(const ColumnString::Chars& str_data, Review Comment: 为什么不直接使用column string,而是把chars和offsets 分开 -- 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