Skip to content

Commit

Permalink
disable spill
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Nov 6, 2024
1 parent aad572a commit 6d040f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/query/settings/src/settings_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ impl DefaultSettings {
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=1)),
}),
("enable_dio", DefaultSettingValue{
("enable_dio", DefaultSettingValue{
value: UserSettingValue::UInt64(1),
desc: "Enables Direct IO.",
mode: SettingMode::Both,
Expand All @@ -288,7 +288,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=1)),
}),
("join_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(60),
value: UserSettingValue::UInt64(0),
desc: "Sets the maximum memory ratio in bytes that hash join can use before spilling data to storage during query execution, 0 is unlimited",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand Down Expand Up @@ -463,7 +463,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=u64::MAX)),
}),
("aggregate_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(60),
value: UserSettingValue::UInt64(0),
desc: "Sets the maximum memory ratio in bytes that an aggregator can use before spilling data to storage during query execution.",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand All @@ -475,7 +475,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=u64::MAX)),
}),
("window_partition_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(60),
value: UserSettingValue::UInt64(0),
desc: "Sets the maximum memory ratio in bytes that a window partitioner can use before spilling data to storage during query execution.",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand Down Expand Up @@ -511,7 +511,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=u64::MAX)),
}),
("sort_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(60),
value: UserSettingValue::UInt64(0),
desc: "Sets the maximum memory ratio in bytes that a sorter can use before spilling data to storage during query execution.",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand Down Expand Up @@ -689,8 +689,8 @@ impl DefaultSettings {
desc: "Set numeric default_order_by_null mode",
mode: SettingMode::Both,
range: Some(SettingRange::String(vec![
"nulls_first".into(), "nulls_last".into(),
"nulls_first_on_asc_last_on_desc".into(), "nulls_last_on_asc_first_on_desc".into(),
"nulls_first".into(), "nulls_last".into(),
"nulls_first_on_asc_last_on_desc".into(), "nulls_last_on_asc_first_on_desc".into(),
])),
}),
("ddl_column_type_nullable", DefaultSettingValue {
Expand Down

0 comments on commit 6d040f8

Please sign in to comment.