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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to