yangzhg commented on a change in pull request #7788:
URL: https://github.com/apache/incubator-doris/pull/7788#discussion_r786370400



##########
File path: be/src/olap/rowset/segment_v2/ordinal_page_index.h
##########
@@ -69,6 +69,9 @@ class OrdinalIndexReader {
     // load and parse the index page into memory
     Status load(bool use_page_cache, bool kept_in_memory);
 
+    // the returned iter points to the largest element which is less than 
`ordinal`,
+    // or points to the first element if all elements are greater than 
`ordinal`,
+    // or points to "end" if all elementss are smaller than `ordinal`.

Review comment:
       ```suggestion
       // or points to "end" if all elements are smaller than `ordinal`.
   ```




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