(table_schema: &TableSchema)
| 169 | |
| 170 | impl SplitProjection { |
| 171 | pub fn unprojected(table_schema: &TableSchema) -> Self { |
| 172 | let projection = ProjectionExprs::from_indices( |
| 173 | &(0..table_schema.table_schema().fields().len()).collect_vec(), |
| 174 | table_schema.table_schema(), |
| 175 | ); |
| 176 | Self::new(table_schema.file_schema(), &projection) |
| 177 | } |
| 178 | |
| 179 | /// Creates a new [`SplitProjection`] by splitting a projection into |
| 180 | /// simple file column indices and a remainder projection that is applied after reading the file. |
nothing calls this directly
no test coverage detected