Skip to content

Commit 02190e5

Browse files
authored
Merge pull request #9742 from BohuTANG/dev-fix-cache-name
chore(cache): fix cache name to lowercase
2 parents 0d0cc01 + f20b20c commit 02190e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/query/storages/fuse/src/io/read/meta/meta_readers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,23 @@ impl MetaReaders {
4646
pub fn segment_info_reader(dal: Operator, schema: TableSchemaRef) -> SegmentInfoReader {
4747
SegmentInfoReader::new(
4848
CacheManager::instance().get_table_segment_cache(),
49-
"SEGMENT_INFO_CACHE".to_owned(),
49+
"segment_info_cache".to_owned(),
5050
LoaderWrapper((dal, schema)),
5151
)
5252
}
5353

5454
pub fn table_snapshot_reader(dal: Operator) -> TableSnapshotReader {
5555
TableSnapshotReader::new(
5656
CacheManager::instance().get_table_snapshot_cache(),
57-
"SNAPSHOT_CACHE".to_owned(),
57+
"snapshot_cache".to_owned(),
5858
LoaderWrapper(dal),
5959
)
6060
}
6161

6262
pub fn table_snapshot_statistics_reader(dal: Operator) -> TableSnapshotStatisticsReader {
6363
TableSnapshotStatisticsReader::new(
6464
CacheManager::instance().get_table_snapshot_statistics_cache(),
65-
"TABLE_STATISTICS_CACHE".to_owned(),
65+
"table_statistics_cache".to_owned(),
6666
LoaderWrapper(dal),
6767
)
6868
}

src/query/storages/hive/hive/src/hive_meta_data_reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl MetaDataReader {
3030
pub fn meta_data_reader(dal: Operator) -> FileMetaDataReader {
3131
FileMetaDataReader::new(
3232
CacheManager::instance().get_file_meta_data_cache(),
33-
"FILE_META_DATA_CACHE".to_owned(),
33+
"file_meta_data_cache".to_owned(),
3434
LoaderWrapper(dal),
3535
)
3636
}

0 commit comments

Comments
 (0)