This commit is contained in:
zhongyuankai 2022-08-30 21:09:38 +08:00
parent f3eb40fc9c
commit 7cd8079c75

View File

@ -41,7 +41,11 @@ public:
String getMarksFilePath(const DataPartStoragePtr & data_part_storage, const String & path_prefix) const
{
return path_prefix + getMarksExtensionFromFilesystem(data_part_storage).value();
auto mrk_ext = getMarksExtensionFromFilesystem(data_part_storage);
if (mrk_ext)
return path_prefix + *mrk_ext;
return path_prefix + marks_file_extension;
}
size_t getMarkSizeInBytes(size_t columns_num = 1) const;