rtpsw commented on code in PR #34392:
URL: https://github.com/apache/arrow/pull/34392#discussion_r1195517924
##########
cpp/src/arrow/acero/asof_join_node.cc:
##########
@@ -569,7 +702,7 @@ class InputState {
// returns the latest time (which is current); otherwise, returns the
current time.
// used when checking whether RHS is up to date with LHS.
OnType GetCurrentTime() const {
- return memo_.no_future_ ? GetLatestTime() : memo_.current_time_;
Review Comment:
Because `memo_current_time_` has changed to an `std::atomic`, for which the
cast extracts its value.
--
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]