BiteTheDDDDt commented on code in PR #49429: URL: https://github.com/apache/doris/pull/49429#discussion_r2016439184
########## be/src/vec/functions/array/function_array_range.cpp: ########## @@ -135,8 +135,7 @@ struct RangeImplUtil { auto dest_array_column_ptr = ColumnArray::create(return_nested_type->create_column(), ColumnArray::ColumnOffsets::create()); IColumn* dest_nested_column = &dest_array_column_ptr->get_data(); - ColumnNullable* dest_nested_nullable_col = - reinterpret_cast<ColumnNullable*>(dest_nested_column); + auto* dest_nested_nullable_col = reinterpret_cast<ColumnNullable*>(dest_nested_column); Review Comment: better to use assert cast -- 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