This is an automated email from the ASF dual-hosted git repository.

mneumann pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git


The following commit(s) were added to refs/heads/main by this push:
     new 0514523  use the correct fabric url (#631)
0514523 is described below

commit 05145235a2f8e68757fe02c22a0101da09b5e464
Author: Kevin Liu <[email protected]>
AuthorDate: Thu Feb 5 07:41:40 2026 -0500

    use the correct fabric url (#631)
---
 src/azure/builder.rs | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/azure/builder.rs b/src/azure/builder.rs
index 8fb9609..afd7a0a 100644
--- a/src/azure/builder.rs
+++ b/src/azure/builder.rs
@@ -671,7 +671,7 @@ impl MicrosoftAzureBuilder {
                             self.container_name = 
Some(validate(parsed.username())?);
                         }
                         Some((a, "dfs.fabric.microsoft.com"))
-                        | Some((a, "blob.fabric.microsoft.net")) => {
+                        | Some((a, "blob.fabric.microsoft.com")) => {
                             self.account_name = Some(validate(a)?);
                             self.container_name = 
Some(validate(parsed.username())?);
                             self.use_fabric_endpoint = true.into();
@@ -1132,6 +1132,14 @@ mod tests {
         assert_eq!(builder.container_name, Some("container".to_string()));
         assert!(builder.use_fabric_endpoint.get().unwrap());
 
+        let mut builder = MicrosoftAzureBuilder::new();
+        builder
+            
.parse_url("az://[email protected]/path-part/file")
+            .unwrap();
+        assert_eq!(builder.account_name, Some("account".to_string()));
+        assert_eq!(builder.container_name, Some("container".to_string()));
+        assert!(builder.use_fabric_endpoint.get().unwrap());
+
         let mut builder = MicrosoftAzureBuilder::new();
         builder
             .parse_url("abfss://[email protected]/")

Reply via email to