| 50 | namespace { |
| 51 | |
| 52 | Result<std::shared_ptr<Schema>> OutputSchemaFromOptions(const ScanV2Options& options) { |
| 53 | return FieldPath::GetAll(*options.dataset->schema(), options.columns); |
| 54 | } |
| 55 | |
| 56 | // In the future we should support async scanning of fragments. The |
| 57 | // Dataset class doesn't support this yet but we pretend it does here to |