| 665 | } |
| 666 | |
| 667 | Future<std::vector<std::shared_ptr<RecordBatch>>> DeclarationToBatchesImpl( |
| 668 | Declaration declaration, QueryOptions options, |
| 669 | ::arrow::internal::Executor* cpu_executor) { |
| 670 | return DeclarationToTableImpl(std::move(declaration), options, cpu_executor) |
| 671 | .Then([](const std::shared_ptr<Table>& table) { |
| 672 | return TableBatchReader(table).ToRecordBatches(); |
| 673 | }); |
| 674 | } |
| 675 | |
| 676 | Future<BatchesWithCommonSchema> DeclarationToExecBatchesImpl( |
| 677 | Declaration declaration, QueryOptions options, |
no test coverage detected