Skip to content

Commit

Permalink
Update src/query/settings/src/settings_getter_setter.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bohu <overred.shuttler@gmail.com>
  • Loading branch information
SkyFan2002 and BohuTANG authored Jan 29, 2024
1 parent d606c1a commit 83d15b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/settings/src/settings_getter_setter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ impl Settings {
}

pub fn get_fuse_write_use_parquet2(&self) -> Result<bool> {
Ok(self.try_get_u64("fuse_write_use_parquet2")? != 0)
Ok(self.try_get_u64("fuse_write_use_parquet2")? == 1)
}

pub fn set_fuse_write_use_parquet2(&self, val: bool) -> Result<()> {
Expand Down

0 comments on commit 83d15b4

Please sign in to comment.