Skip to content
Draft
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
14 changes: 7 additions & 7 deletions presto-native-execution/presto_cpp/main/SessionProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,23 +488,23 @@ SessionProperties::SessionProperties() {
kRequestDataSizesMaxWaitSec,
"Maximum wait time for exchange long poll requests in seconds.",
INTEGER(),
10,
false,
QueryConfig::kRequestDataSizesMaxWaitSec,
std::to_string(c.requestDataSizesMaxWaitSec()));

addSessionProperty(
kNativeQueryMemoryReclaimerPriority,
"Memory pool reclaimer priority.",
INTEGER(),
2147483647,
false,
QueryConfig::kQueryMemoryReclaimerPriority,
std::to_string(c.queryMemoryReclaimerPriority()));

addSessionProperty(
kMaxNumSplitsListenedTo,
"Maximum number of splits to listen to by SplitListener on native workers.",
INTEGER(),
0,
true,
QueryConfig::kMaxNumSplitsListenedTo,
std::to_string(c.maxNumSplitsListenedTo()));

Expand Down Expand Up @@ -539,25 +539,25 @@ SessionProperties::SessionProperties() {

addSessionProperty(
kPreferredOutputBatchBytes,
"Prefered memory budget for operator output batches. Used in tandem with average row size estimates when available.",
"Preferred memory budget for operator output batches. Used in tandem with average row size estimates when available.",
BIGINT(),
10UL * 1048576,
true,
QueryConfig::kPreferredOutputBatchBytes,
std::to_string(c.preferredOutputBatchBytes()));

addSessionProperty(
kPreferredOutputBatchRows,
"Preferred row count per operator output batch. Used when average row size estimates are unknown.",
INTEGER(),
1024,
true,
QueryConfig::kPreferredOutputBatchRows,
std::to_string(c.preferredOutputBatchRows()));

addSessionProperty(
kMaxOutputBatchRows,
"Upperbound for row count per output batch, used together with preferred_output_batch_bytes and average row size estimates.",
INTEGER(),
10'000,
true,
QueryConfig::kMaxOutputBatchRows,
std::to_string(c.maxOutputBatchRows()));

Expand Down
Loading