(
&self,
projection: &ProjectionExprs,
)
| 378 | } |
| 379 | |
| 380 | fn try_pushdown_projection( |
| 381 | &self, |
| 382 | projection: &ProjectionExprs, |
| 383 | ) -> Result<Option<Arc<dyn FileSource>>> { |
| 384 | let mut source = self.clone(); |
| 385 | source.projection = SplitProjection::new( |
| 386 | self.table_schema().file_schema(), |
| 387 | &source.projection.source.try_merge(projection)?, |
| 388 | ); |
| 389 | Ok(Some(Arc::new(source))) |
| 390 | } |
| 391 | |
| 392 | fn projection(&self) -> Option<&ProjectionExprs> { |
| 393 | Some(&self.projection.source) |
no test coverage detected