Skip to content

Commit 3cf060e

Browse files
author
Rafał Hibner
committed
Merge branch 'asof_join_wait_for_process_task' into combined2
2 parents 19b216d + b46311c commit 3cf060e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cpp/src/arrow/acero/asof_join_node.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ class AsofJoinNode : public ExecNode {
11541154
process_thread_.join();
11551155
}
11561156
#endif
1157+
process_task_.Wait();
11571158
}
11581159

11591160
const std::vector<col_index_t>& indices_of_on_key() { return indices_of_on_key_; }
@@ -1648,7 +1649,8 @@ AsofJoinNode::AsofJoinNode(ExecPlan* plan, NodeVector inputs,
16481649
#ifdef ARROW_ENABLE_THREADING
16491650
,
16501651
process_(),
1651-
process_thread_()
1652+
process_thread_(),
1653+
process_task_(Future<>::MakeFinished())
16521654
#endif
16531655
{
16541656
for (auto& key_hasher : key_hashers_) {

0 commit comments

Comments
 (0)