| 808 | } |
| 809 | |
| 810 | Status OnHashTableFinished(size_t thread_index) { |
| 811 | bool should_probe; |
| 812 | { |
| 813 | std::lock_guard<std::mutex> guard(probe_side_mutex_); |
| 814 | should_probe = queued_batches_filtered_ && !hash_table_ready_; |
| 815 | hash_table_ready_ = true; |
| 816 | } |
| 817 | if (should_probe) { |
| 818 | return ProbeQueuedBatches(thread_index); |
| 819 | } |
| 820 | return Status::OK(); |
| 821 | } |
| 822 | |
| 823 | Status OnProbeSideBatch(size_t thread_index, ExecBatch batch) { |
| 824 | { |