github-actions[bot] commented on code in PR #33602:
URL: https://github.com/apache/doris/pull/33602#discussion_r1562442423


##########
be/src/olap/rowset/segment_v2/segment_iterator.h:
##########
@@ -327,6 +327,8 @@ class SegmentIterator : public RowwiseIterator {
 
     bool _has_delete_predicate(ColumnId cid);
 
+    bool _can_opt_topn_reads() const;

Review Comment:
   warning: function '_can_opt_topn_reads' should be marked [[nodiscard]] 
[modernize-use-nodiscard]
   
   ```suggestion
       [[nodiscard]] bool _can_opt_topn_reads() const;
   ```
   



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