Skip to content

Commit

Permalink
enable perfect hash.
Browse files Browse the repository at this point in the history
Signed-off-by: yiqiao <yimingqiao3163@gmail.com>
  • Loading branch information
YimingQiao committed Nov 22, 2024
1 parent 02a4c1a commit 10b9a09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/execution/operator/join/physical_hash_join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,7 @@ SinkFinalizeType PhysicalHashJoin::Finalize(Pipeline &pipeline, Event &event, Cl
}

// check for possible perfect hash table
// auto use_perfect_hash = sink.perfect_join_executor->CanDoPerfectHashJoin();
// Data Chunk Compaction: disable perfect hash, for testing only
auto use_perfect_hash = false;
auto use_perfect_hash = sink.perfect_join_executor->CanDoPerfectHashJoin();
if (use_perfect_hash) {
D_ASSERT(ht.equality_types.size() == 1);
auto key_type = ht.equality_types[0];
Expand Down

0 comments on commit 10b9a09

Please sign in to comment.