Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions presto-native-execution/presto_cpp/main/SessionProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,10 @@ SessionProperties::SessionProperties() {
QueryConfig::kRowNumberSpillEnabled,
boolToString(c.rowNumberSpillEnabled()));

addSessionProperty(
kJoinSpillPartitionBits,
"Native Execution only. The number of bits (N) used to calculate the "
"spilling partition number for hash join and RowNumber: 2 ^ N",
INTEGER(),
false,
QueryConfig::kJoinSpillPartitionBits,
std::to_string(c.rowNumberSpillEnabled()));

addSessionProperty(
kSpillerNumPartitionBits,
"none",
"The number of bits (N) used to calculate the spilling "
"partition number for hash join and RowNumber: 2 ^ N",
TINYINT(),
false,
QueryConfig::kSpillNumPartitionBits,
Expand Down
7 changes: 2 additions & 5 deletions presto-native-execution/presto_cpp/main/SessionProperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,8 @@ class SessionProperties {
static constexpr const char* kWriterSpillEnabled =
"native_writer_spill_enabled";

/// The number of bits (N) used to calculate the spilling
/// partition number for hash join and RowNumber: 2 ^ N
static constexpr const char* kJoinSpillPartitionBits =
"native_join_spiller_partition_bits";

/// The number of bits (N) used to calculate the spilling partition number for
/// hash join and RowNumber: 2 ^ N
static constexpr const char* kSpillerNumPartitionBits =
"native_spiller_num_partition_bits";

Expand Down