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

Method WriteNextBatch

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

Source from the content-addressed store, hash-verified

630 }
631
632 Status WriteNextBatch(std::shared_ptr<RecordBatch> batch,
633 compute::Expression guarantee) {
634 return WriteBatch(batch, guarantee, write_options_,
635 [this](std::shared_ptr<RecordBatch> next_batch,
636 const PartitionPathFormat& destination) {
637 dataset_writer_->WriteRecordBatch(
638 next_batch, destination.directory, destination.filename);
639 return Status::OK();
640 });
641 }
642
643 void Pause() { inputs_[0]->PauseProducing(this, ++backpressure_counter_); }
644

Callers

nothing calls this directly

Calls 3

WriteBatchFunction · 0.70
OKFunction · 0.50
WriteRecordBatchMethod · 0.45

Tested by

no test coverage detected