Skip to content

Commit

Permalink
chore: Projection::Some -> Projection::Parts
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould authored and ethe committed Jul 24, 2024
1 parent d10ffa5 commit 0bcbbac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type LockMap<K> = Arc<LockableHashMap<K, ()>>;

pub enum Projection {
All,
Some(Vec<usize>),
Parts(Vec<usize>),
}

#[derive(Debug)]
Expand Down Expand Up @@ -214,7 +214,7 @@ where
) -> Result<Option<Entry<'get, R>>, ParquetError> {
let mut scan = self.scan(Bound::Included(key), Bound::Unbounded, ts);

if let Projection::Some(projection) = projection {
if let Projection::Parts(projection) = projection {
scan = scan.projection(projection)
}
scan.take().await?.next().await.transpose()
Expand Down

0 comments on commit 0bcbbac

Please sign in to comment.