refactor: quieten logs for new row group

pull/24376/head
Edd Robinson 2021-04-19 16:42:54 +01:00 committed by kodiakhq[bot]
parent 7b67ae498b
commit 0114afcdfa
1 changed files with 3 additions and 1 deletions

View File

@ -248,9 +248,11 @@ impl Chunk {
let row_group = RowGroup::from(table_data);
let table_name = table_name.into();
let rows = self.rows();
let rg_size = row_group.size();
let compression = format!("{:.2}%", (rg_size as f64 / rb_size as f64) * 100.0);
info!(rb_size, rg_size, %compression, %row_group, "row group added");
let chunk_id = self.id();
info!(%rows, rb_size, rg_size, %compression, ?table_name, %chunk_id, "row group added");
let mut chunk_data = self.chunk_data.write();