Skip to content

[C++] Some states in swiss join code are useless #45135

@zanmato1984

Description

@zanmato1984

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_;

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions