Skip to content

Commit 70a79ce

Browse files
committed
Followup
1 parent f6ea231 commit 70a79ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storages/ObjectStorage/DataLakes/Iceberg/IcebergMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static std::pair<Int32, String> getLatestOrExplicitMetadataFileAndVersion(const
284284
}
285285
auto prefix_storage_path = configuration.getPath();
286286
if (!explicit_metadata_path.starts_with(prefix_storage_path))
287-
explicit_metadata_path = prefix_storage_path + explicit_metadata_path;
287+
explicit_metadata_path = std::filesystem::path(prefix_storage_path) / explicit_metadata_path;
288288
result = getMetadataFileAndVersion(explicit_metadata_path);
289289
}
290290
catch (const std::exception & ex)

0 commit comments

Comments
 (0)