This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch branch-2.0-alpha in repository https://gitbox.apache.org/repos/asf/doris.git
commit a427f7a9e5cd54e8c75b586cc7f10618b7d172df Author: amory <[email protected]> AuthorDate: Wed Apr 26 19:03:55 2023 +0800 [FIX](map-type)fix map regress test & create mapTypeInfo without delete #19033 --- be/src/olap/types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/types.cpp b/be/src/olap/types.cpp index da3fd4a255..00f737364f 100644 --- a/be/src/olap/types.cpp +++ b/be/src/olap/types.cpp @@ -256,7 +256,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); } else { return create_static_type_info_ptr(get_scalar_type_info(type)); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
