zhannngchen commented on code in PR #14722:
URL: https://github.com/apache/doris/pull/14722#discussion_r1057413424


##########
be/src/vec/olap/vgeneric_iterators.h:
##########
@@ -120,6 +120,21 @@ class VMergeIteratorContext {
 
     void set_skip(bool skip) const { _skip = skip; }
 
+    bool is_same() const { return _same; }
+
+    void set_same(bool same) const { _same = same; }
+
+    std::vector<bool> get_pre_ctx_same() const { return _pre_ctx_same_bit; }

Review Comment:
   return a const reference to avoid copy of the whole vector.



-- 
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