zhiqiang-hhhh commented on code in PR #39030:
URL: https://github.com/apache/doris/pull/39030#discussion_r1710536578


##########
be/src/vec/functions/function_case.h:
##########
@@ -323,7 +324,9 @@ class FunctionCase : public IFunction {
         size_t rows_count = column_holder.rows_count;
         result_column_ptr->resize(rows_count);
         auto* __restrict result_raw_data =
-                
assert_cast<ColumnType*>(result_column_ptr.get())->get_data().data();

Review Comment:
   result_column_ptr is constructed by `auto result_column_ptr = 
data_type->create_column();`,  type safe seems has already been guaranteed



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

Reply via email to