eldenmoon commented on code in PR #47541: URL: https://github.com/apache/doris/pull/47541#discussion_r1955738247
########## be/src/vec/data_types/data_type_object.cpp: ########## @@ -47,10 +47,17 @@ class IColumn; namespace doris::vectorized { #include "common/compile_check_begin.h" -DataTypeObject::DataTypeObject(const String& schema_format_, bool is_nullable_) - : schema_format(to_lower(schema_format_)), is_nullable(is_nullable_) {} +DataTypeObject::DataTypeObject(int32_t max_subcolumns_count) + : _max_subcolumns_count(max_subcolumns_count) {} bool DataTypeObject::equals(const IDataType& rhs) const { - return typeid_cast<const DataTypeObject*>(&rhs) != nullptr; + auto rhs_type = typeid_cast<const DataTypeObject*>(&rhs); + if (rhs_type && _max_subcolumns_count != rhs_type->variant_max_subcolumns_count()) { + LOG(INFO) << "_max_subcolumns_count is" << _max_subcolumns_count Review Comment: not use INFO -- 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