Yoruet commented on code in PR #41739: URL: https://github.com/apache/doris/pull/41739#discussion_r1801491554
########## be/src/vec/functions/array/function_array_range.cpp: ########## @@ -146,14 +144,6 @@ struct RangeImplUtil { for (int i = 0; i < 3; ++i) { argument_columns[i] = block.get_by_position(arguments[i]).column->convert_to_full_column_if_const(); - if (auto* nullable = check_and_get_column<ColumnNullable>(*argument_columns[i])) { - // Danger: Here must dispose the null map data first! Because - // argument_columns[i]=nullable->get_nested_column_ptr(); will release the mem - // of column nullable mem of null map - VectorizedUtils::update_null_map(args_null_map->get_data(), Review Comment: because in the following code, `args_null_map` is used as a function parameter. If it is deleted, unexpected errors may occur. -- 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