Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangpengHao committed Jan 10, 2025
1 parent bbc3595 commit 547fb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parquet/src/file/serialized_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,8 @@ impl<R: ChunkReader> SerializedPageReader<R> {
///
/// This is used when we need to read parquet with row-filter, and we don't want to decompress the page twice.
/// This function allows us to check if the next page is being cached or read previously.
#[cfg(test)]
fn peek_next_page_offset(&mut self) -> Result<Option<usize>> {
#[cfg(feature = "async")]
pub(crate) fn peek_next_page_offset(&mut self) -> Result<Option<usize>> {
match &mut self.state {
SerializedPageReaderState::Values {
offset,
Expand Down

0 comments on commit 547fb46

Please sign in to comment.