yiguolei commented on code in PR #65558:
URL: https://github.com/apache/doris/pull/65558#discussion_r3585244096
##########
be/src/storage/segment/segment.cpp:
##########
@@ -962,12 +890,12 @@ Status Segment::traverse_column_meta_pbs(const
std::function<void(const ColumnMe
Status Segment::get_column_reader(const TabletColumn& col,
std::shared_ptr<ColumnReader>* column_reader,
- OlapReaderStatistics* stats,
std::optional<Field> const_value) {
+ OlapReaderStatistics* stats) {
RETURN_IF_ERROR(_create_column_meta_once(stats));
SCOPED_RAW_TIMER(&stats->segment_create_column_readers_timer_ns);
int col_uid = col.unique_id() >= 0 ? col.unique_id() :
col.parent_unique_id();
// The column is not in this segment, return nullptr
- if (!_tablet_schema->has_column_unique_id(col_uid)) {
+ if (!_column_meta_accessor->has_column_uid(col_uid)) {
Review Comment:
为什么不用tablet schema ?
--
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]