Skip to content

Commit 6af0418

Browse files
committed
fix absolute path resolution
1 parent 0579ed3 commit 6af0418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storages/ObjectStorage/Utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ std::string makeAbsolutePath(const std::string & table_location, const std::stri
338338
if (!base.scheme.empty())
339339
return base.scheme + "://" + base.authority + abs_path;
340340

341-
return std::string("file://") + abs_path;
341+
return normalized_key;
342342
}
343343

344344
std::pair<DB::ObjectStoragePtr, std::string> resolveObjectStorageForPath(

0 commit comments

Comments
 (0)