From 8ec2ad6287ea486bb94963326e9c1fbdcf2cda67 Mon Sep 17 00:00:00 2001 From: Kould Date: Wed, 24 Jul 2024 11:45:33 +0800 Subject: [PATCH] chore: `Projection::Some` -> `Projection::Parts` --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e300503f..94435155 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,7 +45,7 @@ type LockMap = Arc>; pub enum Projection { All, - Some(Vec), + Parts(Vec), } #[derive(Debug)] @@ -214,7 +214,7 @@ where ) -> Result>, 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()