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

Method ProcessBatch

cpp/src/arrow/dataset/file_base.cc:597–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595 void Finish() override { dataset_writer_->Finish(); }
596
597 Result<compute::ExecBatch> ProcessBatch(compute::ExecBatch batch) override {
598 ARROW_ASSIGN_OR_RAISE(std::shared_ptr<RecordBatch> record_batch,
599 batch.ToRecordBatch(output_schema()));
600 ARROW_RETURN_NOT_OK(WriteNextBatch(std::move(record_batch), batch.guarantee));
601 return batch;
602 }
603
604 Status WriteNextBatch(std::shared_ptr<RecordBatch> batch,
605 compute::Expression guarantee) {

Callers

nothing calls this directly

Calls 2

ToRecordBatchMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.50

Tested by

no test coverage detected