#include "IPartMetadataManager.h" #include #include namespace DB { IPartMetadataManager::IPartMetadataManager(const IMergeTreeDataPart * part_) : part(part_) { } bool IPartMetadataManager::isCompressedFromFileName(const String & file_name) { std::string extension = fs::path(file_name).extension(); return (MarkType::isMarkFileExtension(extension) && MarkType(extension).compressed) || isCompressedFromIndexExtension(extension); } }