MCPcopy Create free account
hub / github.com/apache/arrow / DeclarationToBatches

Function DeclarationToBatches

cpp/src/arrow/acero/exec_plan.cc:828–839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

826}
827
828Result<std::vector<std::shared_ptr<RecordBatch>>> DeclarationToBatches(
829 Declaration declaration, bool use_threads, MemoryPool* memory_pool,
830 FunctionRegistry* function_registry) {
831 return ::arrow::internal::RunSynchronously<
832 Future<std::vector<std::shared_ptr<RecordBatch>>>>(
833 [=, declaration = std::move(declaration)](::arrow::internal::Executor* executor) {
834 return DeclarationToBatchesImpl(
835 std::move(declaration), QueryOptionsFromArgs(memory_pool, function_registry),
836 executor);
837 },
838 use_threads);
839}
840
841Result<std::vector<std::shared_ptr<RecordBatch>>> DeclarationToBatches(
842 Declaration declaration, QueryOptions query_options) {

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 3

DeclarationToBatchesImplFunction · 0.85
QueryOptionsFromArgsFunction · 0.85
InvalidFunction · 0.50

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68