The basic evolution strategy doesn't really need any info from the dataset or the fragment other than the schema so we just make a dummy dataset/fragment here.
| 64 | // or the fragment other than the schema so we just make a dummy dataset/fragment |
| 65 | // here. |
| 66 | std::unique_ptr<Dataset> MakeDatasetFromSchema(std::shared_ptr<Schema> sch) { |
| 67 | return std::make_unique<InMemoryDataset>(std::move(sch), RecordBatchVector{}); |
| 68 | } |
| 69 | |
| 70 | std::unique_ptr<Fragment> MakeSomeFragment(std::shared_ptr<Schema> sch) { |
| 71 | return std::make_unique<InMemoryFragment>(std::move(sch), RecordBatchVector{}); |