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

Method Push

cpp/src/arrow/acero/sorted_merge_node.cc:204–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 }
203
204 arrow::Status Push(const std::shared_ptr<arrow::RecordBatch>& rb) {
205 if (rb->num_rows() > 0) {
206 queue_.Push(rb);
207 } else {
208 ++batches_processed_; // don't enqueue empty batches, just record
209 // as processed
210 }
211 return arrow::Status::OK();
212 }
213
214 const std::shared_ptr<arrow::Schema>& get_schema() const { return schema_; }
215

Callers 2

InputReceivedMethod · 0.45
PushTaskMethod · 0.45

Calls 2

OKFunction · 0.50
num_rowsMethod · 0.45

Tested by

no test coverage detected