csun5285 commented on code in PR #66472:
URL: https://github.com/apache/doris/pull/66472#discussion_r3764331183
##########
be/src/storage/segment/segment.cpp:
##########
@@ -779,23 +774,23 @@ Status Segment::healthy_status() {
}
}
-// Return the storage datatype of related column to field.
-DataTypePtr Segment::get_data_type_of(const TabletColumn& column,
+DataTypePtr Segment::get_data_type_of(const TabletColumn& read_column, const
DataTypePtr& read_type,
const StorageReadOptions& read_options) {
- const PathInDataPtr path = column.path_info_ptr();
+ const PathInDataPtr path = read_column.path_info_ptr();
// none variant column
if (path == nullptr || path->empty()) {
- return DataTypeFactory::instance().create_data_type(column);
+ return read_type;
Review Comment:
复杂类型裁剪的列放进去
--
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]