Skip to content

Commit 91053ef

Browse files
sebbeggrtyler
authored andcommitted
move user to front
1 parent c7009ac commit 91053ef

File tree

1 file changed

+6
-3
lines changed
  • crates/core/src/logstore

1 file changed

+6
-3
lines changed

crates/core/src/logstore/mod.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,9 +504,9 @@ fn object_store_url(location: &Url) -> ObjectStoreUrl {
504504
};
505505

506506
ObjectStoreUrl::parse(format!(
507-
"delta-rs://{}-{}{}{}",
508-
location.scheme(),
507+
"delta-rs://{}{}-{}{}",
509508
user_at,
509+
location.scheme(),
510510
location.host_str().unwrap_or("-"),
511511
location.path().replace(DELIMITER, "-").replace(':', "-")
512512
))
@@ -984,7 +984,10 @@ mod datafusion_tests {
984984
// Same scheme, different host, same path
985985
("s3://bucket_1/table_1", "s3://bucket_2/table_1"),
986986
// Azure urls should encode the container
987-
("abfss://container1@host/table_1", "abfss://container2@host/table_1"),
987+
(
988+
"abfss://container1@host/table_1",
989+
"abfss://container2@host/table_1",
990+
),
988991
] {
989992
let url_1 = Url::parse(location_1).unwrap();
990993
let url_2 = Url::parse(location_2).unwrap();

0 commit comments

Comments
 (0)