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

Method Push

cpp/src/arrow/acero/asof_join_node.cc:731–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729 }
730
731 Status Push(const std::shared_ptr<arrow::RecordBatch>& rb) {
732 if (rb->num_rows() > 0) {
733 key_hasher_->Invalidate(); // batch changed - invalidate key hasher's cache
734 queue_.Push(rb); // only now push batch for processing
735 } else {
736 ++batches_processed_; // don't enqueue empty batches, just record as processed
737 }
738 return Status::OK();
739 }
740
741 std::optional<const MemoStore::Entry*> GetMemoEntryForKey(ByType key) {
742 return memo_.GetEntryForKey(key);

Callers 6

TESTFunction · 0.45
PushProcessMethod · 0.45
ConcurrentQueueBasicTestFunction · 0.45
TESTFunction · 0.45
ProcessMethod · 0.45
DoFinishMethod · 0.45

Calls 3

InvalidateMethod · 0.80
OKFunction · 0.50
num_rowsMethod · 0.45

Tested by 3

TESTFunction · 0.36
ConcurrentQueueBasicTestFunction · 0.36
TESTFunction · 0.36