zanmato1984 opened a new issue, #45135: URL: https://github.com/apache/arrow/issues/45135
### Describe the enhancement requested There exists a member in `HashJoinNode` identifying wether the hash table is built so we can proceed with probe https://github.com/apache/arrow/blob/1e45e182a71d51223cfb82b236dde07b436f44f1/cpp/src/arrow/acero/hash_join_node.cc#L1039 So the following two states in `SwissJoin`: https://github.com/apache/arrow/blob/1e45e182a71d51223cfb82b236dde07b436f44f1/cpp/src/arrow/acero/swiss_join.cc#L2930 https://github.com/apache/arrow/blob/1e45e182a71d51223cfb82b236dde07b436f44f1/cpp/src/arrow/acero/swiss_join.cc#L2913 are useless. We can also tell it from the fact that they are all written but never read (except for a `DCHECK` which is also unnecessary). ### Component(s) C++ -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org