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

Method WriteNextBatch

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

Source from the content-addressed store, hash-verified

602 }
603
604 Status WriteNextBatch(std::shared_ptr<RecordBatch> batch,
605 compute::Expression guarantee) {
606 return WriteBatch(batch, guarantee, write_options_,
607 [this](std::shared_ptr<RecordBatch> next_batch,
608 const PartitionPathFormat& destination) {
609 dataset_writer_->WriteRecordBatch(
610 next_batch, destination.directory, destination.filename);
611 return Status::OK();
612 });
613 }
614
615 void Pause() { inputs_[0]->PauseProducing(this, ++backpressure_counter_); }
616

Callers

nothing calls this directly

Calls 3

WriteBatchFunction · 0.70
OKFunction · 0.50
WriteRecordBatchMethod · 0.45

Tested by

no test coverage detected