Method
try_pushdown_projection
(
&self,
projection: &ProjectionExprs,
)
Source from the content-addressed store, hash-verified
| 643 | } |
| 644 | |
| 645 | fn try_pushdown_projection( |
| 646 | &self, |
| 647 | projection: &ProjectionExprs, |
| 648 | ) -> datafusion_common::Result<Option<Arc<dyn FileSource>>> { |
| 649 | let mut source = self.clone(); |
| 650 | source.projection = self.projection.try_merge(projection)?; |
| 651 | Ok(Some(Arc::new(source))) |
| 652 | } |
| 653 | |
| 654 | fn projection(&self) -> Option<&ProjectionExprs> { |
| 655 | Some(&self.projection) |
Callers
nothing calls this directly
Tested by
no test coverage detected