Skip to content

Commit 62357f2

Browse files
committed
fix HashIndex::num_key_bytes impl
1 parent ae5b7b1 commit 62357f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/table/src/table_index/hash_index.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ impl<K: KeySize + Eq + Hash> Index for HashIndex<K> {
9898
self.map.len()
9999
}
100100

101+
fn num_key_bytes(&self) -> u64 {
102+
self.num_key_bytes
103+
}
104+
101105
fn num_rows(&self) -> usize {
102106
self.num_rows
103107
}

0 commit comments

Comments
 (0)