Skip to content

Commit 7469eca

Browse files
author
Rafał Hibner
committed
Merge branch 'SortedMergeStop' into combined3
2 parents f81227c + 74ec06a commit 7469eca

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
@@ -644,6 +644,7 @@ class SortedMergeNode : public ExecNode {
644644
// Implementation note: If the queue is empty, we will block here
645645
if (process_queue.WaitAndPop() == kPoisonPill) {
646646
EndFromProcessThread();
647+
return;
647648
}
648649
// Either we're out of data or something went wrong
649650
if (!PollOnce()) {

0 commit comments

Comments
 (0)