Skip to content

Commit 822a436

Browse files
committed
fix3
1 parent 4d24776 commit 822a436

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/paimon/core/utils/file_store_path_factory.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,23 +157,20 @@ std::unique_ptr<IndexPathFactory> FileStorePathFactory::CreateGlobalIndexFileFac
157157
std::string NewPath() const override {
158158
return factory_->NewIndexFile();
159159
}
160-
161160
std::string ToPath(const std::shared_ptr<IndexFileMeta>& file) const override {
162161
const auto& external_path = file->ExternalPath();
163162
if (external_path) {
164163
return external_path.value();
165164
}
166165
return PathUtil::JoinPath(factory_->IndexPath(factory_->RootPath()), file->FileName());
167166
}
168-
169167
std::string ToPath(const std::string& file_name) const override {
170168
const auto& external_path = factory_->GetGlobalIndexExternalPath();
171169
if (external_path) {
172170
return PathUtil::JoinPath(external_path.value(), file_name);
173171
}
174172
return PathUtil::JoinPath(factory_->IndexPath(factory_->RootPath()), file_name);
175173
}
176-
177174
bool IsExternalPath() const override {
178175
return factory_->GetGlobalIndexExternalPath() != std::nullopt;
179176
}

0 commit comments

Comments
 (0)