Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/query/storages/fuse/src/io/read/meta/meta_readers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ impl MetaReaders {
pub fn segment_info_reader(dal: Operator, schema: TableSchemaRef) -> SegmentInfoReader {
SegmentInfoReader::new(
CacheManager::instance().get_table_segment_cache(),
"SEGMENT_INFO_CACHE".to_owned(),
"segment_info_cache".to_owned(),
LoaderWrapper((dal, schema)),
)
}

pub fn table_snapshot_reader(dal: Operator) -> TableSnapshotReader {
TableSnapshotReader::new(
CacheManager::instance().get_table_snapshot_cache(),
"SNAPSHOT_CACHE".to_owned(),
"snapshot_cache".to_owned(),
LoaderWrapper(dal),
)
}

pub fn table_snapshot_statistics_reader(dal: Operator) -> TableSnapshotStatisticsReader {
TableSnapshotStatisticsReader::new(
CacheManager::instance().get_table_snapshot_statistics_cache(),
"TABLE_STATISTICS_CACHE".to_owned(),
"table_statistics_cache".to_owned(),
LoaderWrapper(dal),
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/query/storages/hive/hive/src/hive_meta_data_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl MetaDataReader {
pub fn meta_data_reader(dal: Operator) -> FileMetaDataReader {
FileMetaDataReader::new(
CacheManager::instance().get_file_meta_data_cache(),
"FILE_META_DATA_CACHE".to_owned(),
"file_meta_data_cache".to_owned(),
LoaderWrapper(dal),
)
}
Expand Down