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

Method OnProbeSideBatch

cpp/src/arrow/acero/hash_join_node.cc:823–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821 }
822
823 Status OnProbeSideBatch(size_t thread_index, ExecBatch batch) {
824 {
825 std::lock_guard<std::mutex> guard(probe_side_mutex_);
826 if (!bloom_filters_ready_) {
827 probe_accumulator_.InsertBatch(std::move(batch));
828 return Status::OK();
829 }
830 }
831 RETURN_NOT_OK(pushdown_context_.FilterSingleBatch(thread_index, &batch));
832
833 {
834 std::lock_guard<std::mutex> guard(probe_side_mutex_);
835 if (!hash_table_ready_) {
836 probe_accumulator_.InsertBatch(std::move(batch));
837 return Status::OK();
838 }
839 }
840 RETURN_NOT_OK(impl_->ProbeSingleBatch(thread_index, std::move(batch)));
841 return Status::OK();
842 }
843
844 Status OnProbeSideFinished(size_t thread_index) {
845 bool probing_finished;

Callers

nothing calls this directly

Calls 4

FilterSingleBatchMethod · 0.80
OKFunction · 0.50
InsertBatchMethod · 0.45
ProbeSingleBatchMethod · 0.45

Tested by

no test coverage detected