(
&self,
projection: &ProjectionExprs,
)
| 210 | } |
| 211 | |
| 212 | fn try_pushdown_projection( |
| 213 | &self, |
| 214 | projection: &ProjectionExprs, |
| 215 | ) -> Result<Option<Arc<dyn FileSource>>> { |
| 216 | let mut source = self.clone(); |
| 217 | let new_projection = self.projection.source.try_merge(projection)?; |
| 218 | let split_projection = |
| 219 | SplitProjection::new(self.table_schema.file_schema(), &new_projection); |
| 220 | source.projection = split_projection; |
| 221 | Ok(Some(Arc::new(source))) |
| 222 | } |
| 223 | |
| 224 | fn projection(&self) -> Option<&ProjectionExprs> { |
| 225 | Some(&self.projection.source) |
nothing calls this directly
no test coverage detected