yiguolei commented on code in PR #64010:
URL: https://github.com/apache/doris/pull/64010#discussion_r3393536262


##########
be/src/storage/segment/segment.cpp:
##########
@@ -253,19 +253,23 @@ Status Segment::new_iterator(SchemaSPtr schema, const 
StorageReadOptions& read_o
     if (read_options.runtime_state != nullptr) {
         _be_exec_version = read_options.runtime_state->be_exec_version();
     }
-    RETURN_IF_ERROR(_create_column_meta_once(read_options.stats));
+    auto iterator_read_options = read_options;

Review Comment:
   这里为什么要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: [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]

Reply via email to