liutang123 commented on a change in pull request #3025: Restructure storage 
type to support complex types expending
URL: https://github.com/apache/incubator-doris/pull/3025#discussion_r392648505
 
 

 ##########
 File path: be/src/olap/rowset/segment_v2/page_decoder.h
 ##########
 @@ -81,13 +81,20 @@ class PageDecoder {
     // allocated in the column_vector_view's mem_pool.
     virtual Status next_batch(size_t* n, ColumnBlockView* dst) = 0;
 
+    // Same as `next_batch` except for not adding index
+    virtual Status peek_next_batch(size_t *n, ColumnBlockView* dst) {
 
 Review comment:
   In ListColumnReader, we want read one next row and do not want to change the 
cursor of page decoder.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to