You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Tanya-W (via GitHub)" <gi...@apache.org> on 2023/06/09 01:56:05 UTC

[GitHub] [doris] Tanya-W commented on a diff in pull request #20605: [enhancement](index) Nereids support no need to read raw data for index column that only in filter conditions

Tanya-W commented on code in PR #20605:
URL: https://github.com/apache/doris/pull/20605#discussion_r1223746831


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -250,6 +250,10 @@ Status SegmentIterator::init(const StorageReadOptions& opts) {
     if (_char_type_idx.empty() && _char_type_idx_no_0.empty()) {
         _vec_init_char_column_id();
     }
+
+    if (opts.output_columns != nullptr) {
+        _output_columns = *(opts.output_columns);

Review Comment:
   `_maybe_read_column_ids` in `NewOlapScanNode` -> `output_columns` in `ReaderParams` -> `output_columns` in `RowsetReaderContext` -> output_columns in StorageReadOptions



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org