HappenLee commented on code in PR #47744:
URL: https://github.com/apache/doris/pull/47744#discussion_r1953723734


##########
be/src/pipeline/exec/olap_scan_operator.cpp:
##########
@@ -383,6 +384,11 @@ Status 
OlapScanLocalState::_init_scanners(std::list<vectorized::VScannerSPtr>* s
             }
 
             COUNTER_UPDATE(_key_range_counter, scanner_ranges.size());

Review Comment:
   add comment and better be 
   ```
   for (auto& rs : _read_sources[scan_range_idx].rs_splits) { for ( auto& split 
: splits) { split.rs_reader = split.rs_reader->clone(); } }
   ```
   here no need vector copy



-- 
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-unsubscr...@doris.apache.org

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


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

Reply via email to