BiteTheDDDDt commented on code in PR #64413:
URL: https://github.com/apache/doris/pull/64413#discussion_r3426631698
##########
be/src/storage/tablet/tablet_reader.h:
##########
@@ -158,6 +158,12 @@ class TabletReader {
std::vector<ColumnId> return_columns;
// output_columns only contain columns in OrderByExprs and outputExprs
std::set<int32_t> output_columns;
+ // Storage key columns that are present only for scan-schema alignment.
+ // Example: for AGG keys (k1, k2), a query that returns k2 can scan
+ // (k1, k2) and project away k1. Direct readers may avoid reading such
+ // columns only if the lower iterator proves their real values are not
+ // required by predicates, delete conditions, or expressions.
+ std::set<ColumnId> filled_columns;
Review Comment:
这个是要用来判断是否contains
--
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]