From f3175ed2916cf573e5bf7919f67fea048fb0c471 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Wed, 14 Jul 2021 21:55:33 -0400 Subject: [PATCH] test: use of different size values --- read_buffer/src/table.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/read_buffer/src/table.rs b/read_buffer/src/table.rs index 5a685a59b9..f3fdda1b47 100644 --- a/read_buffer/src/table.rs +++ b/read_buffer/src/table.rs @@ -570,6 +570,7 @@ pub struct MetaData { impl MetaData { pub fn new(rg: &row_group::RowGroup) -> Self { Self { + // This uses RowGroup.size()... size: rg.size(), rows: rg.rows() as u64, columns: rg.metadata().columns.clone(), @@ -597,6 +598,7 @@ impl MetaData { // first row group added to the table. if this.columns.is_empty() { + // ... but this is using RowGroup.metadata().size()! this.size = other.size(); this.rows = other.rows as u64; this.columns = other.columns.clone();