| 387 | class MockFragment : public Fragment { |
| 388 | public: |
| 389 | explicit MockFragment(uint32_t start, int64_t rows_per_batch, int num_batches, |
| 390 | const std::shared_ptr<Schema>& schema) |
| 391 | : Fragment(compute::literal(true), schema), |
| 392 | start_(start), |
| 393 | rows_per_batch_(rows_per_batch), |
| 394 | num_batches_(num_batches) {} |
| 395 | |
| 396 | Result<RecordBatchGenerator> ScanBatchesAsync( |
| 397 | const std::shared_ptr<ScanOptions>& options) override { |