Skip to content

Commit 74ec06a

Browse files
author
Rafał Hibner
committed
Fix SortedMergeStop
1 parent c38cc5b commit 74ec06a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/src/arrow/acero/sorted_merge_node.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ class SortedMergeNode : public ExecNode {
590590
// Implementation note: If the queue is empty, we will block here
591591
if (process_queue.WaitAndPop() == kPoisonPill) {
592592
EndFromProcessThread();
593+
return;
593594
}
594595
// Either we're out of data or something went wrong
595596
if (!PollOnce()) {

0 commit comments

Comments
 (0)