HappenLee commented on code in PR #65242:
URL: https://github.com/apache/doris/pull/65242#discussion_r3534501777
##########
be/src/storage/segment/segment.cpp:
##########
@@ -445,6 +445,20 @@ Status Segment::new_iterator(SchemaSPtr schema, const
StorageReadOptions& read_o
if (pruned) {
auto options_with_pruned_predicates = read_options;
options_with_pruned_predicates.column_predicates =
pruned_predicates;
+ std::set<uint32_t> cols_with_pred_after_prune;
Review Comment:
这里cols_with_pred_after_prune的set可以直接用options_with_pruned_predicates.col_id_to_predicates的map来启到同样的效果,没必要额外建立。
--
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]