From 7aae200c286bc88958f3276c6557fa92342e81aa Mon Sep 17 00:00:00 2001 From: Dousir9 <736191200@qq.com> Date: Wed, 18 Sep 2024 14:24:36 +0800 Subject: [PATCH] chore(settings): fix settings --- src/query/settings/src/settings_getter_setter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/query/settings/src/settings_getter_setter.rs b/src/query/settings/src/settings_getter_setter.rs index 640c2c0d45bc..9d2b36ee90e0 100644 --- a/src/query/settings/src/settings_getter_setter.rs +++ b/src/query/settings/src/settings_getter_setter.rs @@ -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 { - Ok(self.try_get_u64("window_partition_sort_block_size")? as usize) + pub fn get_window_partition_sort_block_size(&self) -> Result { + Ok(self.try_get_u64("window_partition_sort_block_size")?) } pub fn get_sort_spilling_bytes_threshold_per_proc(&self) -> Result {