@@ -61,7 +61,7 @@ impl BlockReader {
61
61
if let Some ( column_meta) = columns_meta. get ( column_id) {
62
62
let ( offset, len) = column_meta. offset_length ( ) ;
63
63
64
- let column_cache_key = column_cache_key_builder. cache_cache ( column_id, column_meta) ;
64
+ let column_cache_key = column_cache_key_builder. cache_key ( column_id, column_meta) ;
65
65
66
66
// first, check in memory table data cache
67
67
// column_array_cache
@@ -106,7 +106,7 @@ impl BlockReader {
106
106
107
107
// Safe to unwrap here, since this column has been fetched, its meta must be present.
108
108
let column_meta = columns_meta. get ( column_id) . unwrap ( ) ;
109
- let column_cache_key = column_cache_key_builder. cache_cache ( column_id, column_meta) ;
109
+ let column_cache_key = column_cache_key_builder. cache_key ( column_id, column_meta) ;
110
110
111
111
let chunk_data = merge_io_result
112
112
. owner_memory
@@ -133,7 +133,7 @@ impl<'a> ColumnCacheKeyBuilder<'a> {
133
133
fn new ( block_path : & ' a str ) -> Self {
134
134
Self { block_path }
135
135
}
136
- fn cache_cache ( & self , column_id : & ColumnId , column_meta : & ColumnMeta ) -> TableDataCacheKey {
136
+ fn cache_key ( & self , column_id : & ColumnId , column_meta : & ColumnMeta ) -> TableDataCacheKey {
137
137
let ( offset, len) = column_meta. offset_length ( ) ;
138
138
TableDataCacheKey :: new ( self . block_path , * column_id, offset, len)
139
139
}
0 commit comments