We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43a821f commit 19b216dCopy full SHA for 19b216d
1 file changed
cpp/src/arrow/acero/asof_join_node.cc
@@ -1001,6 +1001,7 @@ class AsofJoinNode : public ExecNode {
1001
dst.Emplace(state_, tolerance_);
1002
ARROW_ASSIGN_OR_RAISE(bool advanced, lhs.Advance());
1003
if (!advanced) break; // if we can't advance LHS, we're done for this batch
1004
+ if (lhs.GetLatestRow() == 0) break; // Keep lhs batch boundary
1005
} else {
1006
if (!rhs_update_state.any_advanced) break; // need to wait for new data
1007
}
0 commit comments