HappenLee commented on code in PR #29403:
URL: https://github.com/apache/doris/pull/29403#discussion_r1441643347


##########
be/src/vec/exprs/vin_predicate.cpp:
##########
@@ -94,6 +95,12 @@ void VInPredicate::close(VExprContext* context, 
FunctionContext::FunctionStateSc
 }
 
 Status VInPredicate::execute(VExprContext* context, Block* block, int* 
result_column_id) {
+    if ((_constant_col != nullptr) && is_constant()) { // const have execute 
in open function

Review Comment:
   use a function to do the same work



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