(self)
| 263 | } |
| 264 | |
| 265 | pub fn build(self) -> Arc<dyn ExecutionPlan> { |
| 266 | let source = Arc::new(TestSource::new( |
| 267 | Arc::clone(&self.schema), |
| 268 | self.support, |
| 269 | self.batches, |
| 270 | )); |
| 271 | let base_config = |
| 272 | FileScanConfigBuilder::new(ObjectStoreUrl::parse("test://").unwrap(), source) |
| 273 | .with_file(PartitionedFile::new("test.parquet", 123)) |
| 274 | .build(); |
| 275 | DataSourceExec::from_data_source(base_config) |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | /// Index into the data that has been returned so far |
no test coverage detected