amorynan commented on code in PR #19033:
URL: https://github.com/apache/doris/pull/19033#discussion_r1176020458


##########
be/src/olap/types.cpp:
##########
@@ -259,7 +259,7 @@ TypeInfoPtr get_type_info(const TabletColumn* col) {
         const auto* val_column = &col->get_sub_column(1);
         TypeInfoPtr value_type = get_type_info(val_column);
         MapTypeInfo* map_type_info = new MapTypeInfo(std::move(key_type), 
std::move(value_type));
-        return create_static_type_info_ptr(map_type_info);
+        return create_dynamic_type_info_ptr(map_type_info);

Review Comment:
   ARRAY did not has this problem , get_array_type_info(child_column->type(), 
iterations) which return a with  
   ```static const ArrayTypeInfo*``` which is static . 



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