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

Method Close

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

Source from the content-addressed store, hash-verified

548 }
549
550 Status Close() override {
551 // reading from generator until end is reached.
552 std::shared_ptr<RecordBatch> batch;
553 RETURN_NOT_OK(ReadNext(&batch));
554 while (batch != nullptr) {
555 RETURN_NOT_OK(ReadNext(&batch));
556 }
557 return Status::OK();
558 }
559
560 MemoryPool* pool_;
561 std::shared_ptr<Schema> schema_;

Callers 3

TESTFunction · 0.45
StopProducingImplMethod · 0.45
FinishMethod · 0.45

Calls 2

ReadNextFunction · 0.85
OKFunction · 0.50

Tested by 1

TESTFunction · 0.36