zanmato1984 commented on code in PR #45197:
URL: https://github.com/apache/arrow/pull/45197#discussion_r1906339920


##########
cpp/src/arrow/acero/swiss_join.cc:
##########
@@ -2637,10 +2635,6 @@ class SwissJoin : public HashJoinImpl {
         static_cast<int64_t>(thread_id), key_batch, no_payload ? nullptr : 
&payload_batch,
         temp_stack)));
 
-    // Release input batch
-    //
-    input_batch.values.clear();

Review Comment:
   This is just a stack variable so no need to explicitly release before 
returning.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to