Ted-Jiang opened a new issue, #1834:
URL: https://github.com/apache/arrow-rs/issues/1834

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   ```
   pub trait PageReader: Iterator<Item = Result<Page>> + Send {
       /// Gets the next page in the column chunk associated with this reader.
       /// Returns `None` if there are no pages left.
       fn get_next_page(&mut self) -> Result<Option<Page>>;
   }
   ```
   change to
   ```
   pub trait PageReader: Iterator<Item = Result<Page>> + Send {
       /// Gets the next page in the column chunk associated with this reader.
       /// Returns `None` if there are no pages left.
       fn get_next_page(&mut self) -> Result<Option<Page>>;
   
       /// Gets the next page in the column chunk associated with this reader.
       /// Returns `None` if there are no pages left.
       fn get_next_page_header(&mut self) -> Result<Option<PageHeader>>;
   }
   
   ```
   
   i want to add `skip_page` in PageReader (for page index) need check page 
header before call `skip_page` (
   can not skip `DictionaryPage` `IndexPage`),
   but now read header is in `get_next_page`, so extract it to a new func.
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   
   **Describe alternatives you've considered**
   put `skip_page`  in `get_next_page`
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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

Reply via email to