yiguolei commented on code in PR #68198:
URL: https://github.com/apache/doris/pull/68198#discussion_r4055928702
##########
be/src/storage/segment/segment_iterator.cpp:
##########
@@ -1595,17 +1592,20 @@ Status
SegmentIterator::_apply_inverted_index_on_column_predicate(
return Status::OK();
}
+bool SegmentIterator::_keys_type_allows_skipping_data() const {
+ const KeysType keys_type = _segment->_tablet_schema->keys_type();
+ return keys_type == KeysType::DUP_KEYS ||
+ (keys_type == KeysType::UNIQUE_KEYS &&
_opts.enable_unique_key_merge_on_write);
Review Comment:
enable_unique_key_merge_on_write 这个属性为什么是从opts 里拿? 不是直接从当前segment 的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]