hubgeter commented on code in PR #38245:
URL: https://github.com/apache/doris/pull/38245#discussion_r1697885705


##########
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:
   good idea ! i will do it.



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