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

Function StartAndFinish

cpp/src/arrow/dataset/test_util_internal.cc:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123} // namespace
124
125Future<> StartAndFinish(ExecPlan* plan) {
126 RETURN_NOT_OK(plan->Validate());
127 plan->StartProducing();
128 return plan->finished();
129}
130
131Future<std::vector<ExecBatch>> StartAndCollect(
132 ExecPlan* plan, AsyncGenerator<std::optional<ExecBatch>> gen) {

Callers 1

Calls 3

finishedMethod · 0.80
ValidateMethod · 0.45
StartProducingMethod · 0.45

Tested by

no test coverage detected