Skip to content

Commit

Permalink
test: don't use common compression in native
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Sep 25, 2023
1 parent d8d06be commit 40473cf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/query/storages/fuse/src/io/write/block_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ pub fn serialize_block(
let arrow_schema = schema.to_arrow();
let leaf_column_ids = schema.to_leaf_column_ids();

let mut default_compress_ratio = Some(2.10f64);
if matches!(write_settings.table_compression, TableCompression::Zstd) {
default_compress_ratio = Some(3.72f64);
}
let mut default_compress_ratio = None;

let mut writer = NativeWriter::new(
buf,
Expand Down

0 comments on commit 40473cf

Please sign in to comment.