yiguolei commented on code in PR #63153:
URL: https://github.com/apache/doris/pull/63153#discussion_r3231053928


##########
be/src/storage/segment/column_reader.cpp:
##########
@@ -346,16 +346,16 @@ void ColumnReader::check_data_by_zone_map_for_test(const 
MutableColumnPtr& dst)
 #endif
 
 Status ColumnReader::init(const ColumnMetaPB* meta) {
-    _type_info = get_type_info(meta);
+    _type = (FieldType)meta->type();
 
     if (meta->has_be_exec_version()) {
         _be_exec_version = meta->be_exec_version();
     }
 
-    if (_type_info == nullptr) {
+    if (_type == FieldType::OLAP_FIELD_TYPE_NONE || _type == 
FieldType::OLAP_FIELD_TYPE_UNKNOWN) {

Review Comment:
   这两个type 什么时候会用? 是默认值就是还是咋滴?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to