HappenLee commented on code in PR #32333: URL: https://github.com/apache/doris/pull/32333#discussion_r1527886793
########## be/src/vec/functions/like.cpp: ########## @@ -416,11 +607,102 @@ Status FunctionLikeBase::vector_const(const ColumnString& values, const StringRe return Status::OK(); } +template <bool LIKE_PATTERN> +VPatternSearchStateSPtr FunctionLikeBase::pattern_type_recognition(const ColumnString& patterns) { + VPatternSearchStateSPtr allpass_state = std::make_shared<VectorAllpassSearchState>(); Review Comment: Do not need use shared_ptr here -- 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