Describe the enhancement requested
There exists a member in HashJoinNode identifying wether the hash table is built so we can proceed with probe in a very high level:
|
bool hash_table_ready_ = false; |
So the following two states in SwissJoin:
|
std::atomic<bool> hash_table_ready_; |
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++
Describe the enhancement requested
There exists a member in
HashJoinNodeidentifying wether the hash table is built so we can proceed with probe in a very high level:arrow/cpp/src/arrow/acero/hash_join_node.cc
Line 1039 in 1e45e18
So the following two states in
SwissJoin:arrow/cpp/src/arrow/acero/swiss_join.cc
Line 2930 in 1e45e18
arrow/cpp/src/arrow/acero/swiss_join.cc
Line 2913 in 1e45e18
are useless. We can also tell it from the fact that they are all written but never read (except for a
DCHECKwhich is also unnecessary).Component(s)
C++