icexelloss commented on code in PR #35874:
URL: https://github.com/apache/arrow/pull/35874#discussion_r1213533392


##########
cpp/src/arrow/acero/asof_join_node.cc:
##########
@@ -668,13 +668,13 @@ class InputState {
 
   static Result<std::unique_ptr<InputState>> Make(
       size_t index, TolType tolerance, bool must_hash, bool may_rehash,
-      KeyHasher* key_hasher, AsofJoinNode* node, ExecNode* output,
+      KeyHasher* key_hasher, AsofJoinNode* node, ExecNode* input,

Review Comment:
   It is also confusing that 
   
   ```
       return std::make_unique<InputState>(index, tolerance, must_hash, 
may_rehash,
                                           key_hasher, node, 
std::move(handler), schema,
                                           time_col_index, key_col_index);
   ```
   On line 681 passes the asof join node to the input state instead of the 
input node, why is it?
   
                                           



-- 
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]

Reply via email to