zclllyybb commented on code in PR #41739: URL: https://github.com/apache/doris/pull/41739#discussion_r1802330142
########## 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: the result column's nullmap will be updated in two ways: 1. outside this function, in the default implementation of nulls. so these code could be safely deleted 2. in the functions Impl, that is, it's own logic. so we need this `arg_null_map `. -- 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