kaka11chen commented on code in PR #38245: URL: https://github.com/apache/doris/pull/38245#discussion_r1696858669
########## be/src/vec/data_types/serde/data_type_nullable_serde.cpp: ########## @@ -138,8 +138,10 @@ Status DataTypeNullableSerDe::deserialize_column_from_fixed_json( auto& null_map = col.get_null_map_data(); auto& nested_column = col.get_nested_column(); - null_map.resize_fill( - rows, null_map.back()); // data_type_nullable::insert_column_last_value_multiple_times() + uint8_t val = null_map.back(); + size_t new_sz = null_map.size() + rows - 1; + null_map.resize_fill(new_sz, Review Comment: What about put this line into the following condition? ``` if (rows - 1 != 0) { } ``` -- 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