helper that creates a stream of 2 files with the same pair of batches in each ([0,1,2] and [0,1])
(limit: Option<usize>)
| 341 | |
| 342 | /// helper that creates a stream of 2 files with the same pair of batches in each ([0,1,2] and [0,1]) |
| 343 | async fn create_and_collect(limit: Option<usize>) -> Vec<RecordBatch> { |
| 344 | FileStreamTest::new() |
| 345 | .with_records(vec![make_partition(3), make_partition(2)]) |
| 346 | .with_num_files(2) |
| 347 | .with_limit(limit) |
| 348 | .result() |
| 349 | .await |
| 350 | .expect("error executing stream") |
| 351 | } |
| 352 | |
| 353 | /// Create the smallest valid file scan config for builder validation tests. |
| 354 | fn builder_test_config() -> FileScanConfig { |
no test coverage detected
searching dependent graphs…