joemarshall commented on code in PR #41125:
URL: https://github.com/apache/arrow/pull/41125#discussion_r1617953153
##########
cpp/src/arrow/acero/asof_join_node.cc:
##########
@@ -1425,31 +1431,86 @@ class AsofJoinNode : public ExecNode {
// The reason for this is that there are cases at the end of a table where
we don't
// know whether the RHS of the join is up-to-date until we know that the
table is
// finished.
- process_.Push(true);
+ PushProcess(true);
+
return Status::OK();
}
+ void PushProcess(bool value) {
+#ifdef ARROW_ENABLE_THREADING
+ process_.Push(value);
+#else
+ if (value) {
+ ProcessNonThreaded();
+ }
Review Comment:
I'm not sure, because there isn't really a producer thread here, but it
doesn't do anything bad adding it in, so I guess it is safer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]