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


##########
be/src/vec/functions/function_case.h:
##########
@@ -372,13 +323,24 @@ class FunctionCase : public IFunction {
 
         CaseWhenColumnHolder column_holder = CaseWhenColumnHolder(
                 block, arguments, input_rows_count, has_case, has_else, 
when_null, then_null);
-
+        if (column_holder.pair_count > UINT16_MAX) {

Review Comment:
   better the has_case only do check to reduce the compile time



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