Skip to content

Commit

Permalink
chore(settings): fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dousir9 committed Sep 18, 2024
1 parent 1eaf790 commit 7aae200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query/settings/src/settings_getter_setter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ impl Settings {
Ok(self.try_get_u64("window_spill_unit_size_mb")? as usize)
}

pub fn get_window_partition_sort_block_size(&self) -> Result<usize> {
Ok(self.try_get_u64("window_partition_sort_block_size")? as usize)
pub fn get_window_partition_sort_block_size(&self) -> Result<u64> {
Ok(self.try_get_u64("window_partition_sort_block_size")?)
}

pub fn get_sort_spilling_bytes_threshold_per_proc(&self) -> Result<usize> {
Expand Down

0 comments on commit 7aae200

Please sign in to comment.