Skip to content

Commit

Permalink
Make the default 8-way join spill partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxmeng committed Mar 4, 2024
1 parent 16a7fe1 commit 0227ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/core/QueryConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ class QueryConfig {
///
/// NOTE: as for now, we only support up to 8-way spill partitioning.
uint8_t joinSpillPartitionBits() const {
constexpr uint8_t kDefaultBits = 2;
constexpr uint8_t kDefaultBits = 3;
constexpr uint8_t kMaxBits = 3;
return std::min(
kMaxBits, get<uint8_t>(kJoinSpillPartitionBits, kDefaultBits));
Expand Down

0 comments on commit 0227ca8

Please sign in to comment.