Skip to content

Commit

Permalink
Update asof_join_node.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Kietzman <[email protected]>
  • Loading branch information
2 people authored and Jeremy Aguilon committed Oct 23, 2023
1 parent ae30a33 commit 5d8b709
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/acero/asof_join_node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1702,8 +1702,8 @@ class AsofJoinNode : public ExecNode {

Status InputReceived(ExecNode* input, ExecBatch batch) override {
// InputReceived may be called after execution was finished. Pushing it to the
// InputState may cause the BackPressureController to pause the input, causing a
// deadlock
// InputState is unnecessary since we're done (and anyway may cause the
// BackPressureController to pause the input, causing a deadlock), so drop it.
if (process_task_.is_finished()) {
DEBUG_SYNC(this, "Input received while done. Short circuiting.",
DEBUG_MANIP(std::endl));
Expand Down

0 comments on commit 5d8b709

Please sign in to comment.