vmuddassir-msft commented on code in PR #4573:
URL: https://github.com/apache/arrow-rs/pull/4573#discussion_r1288937026


##########
object_store/src/azure/mod.rs:
##########
@@ -911,7 +928,13 @@ impl MicrosoftAzureBuilder {
             (true, url, credential, account_name)
         } else {
             let account_name = self.account_name.ok_or(Error::MissingAccount 
{})?;
-            let account_url = format!("https://{}.blob.core.windows.net";, 
&account_name);
+            let account_url = if account_name.contains("onelake") {

Review Comment:
   @tustvold You can create an account on app.fabric.com. Once you have an 
account, you can follow the steps mentioned in 
https://learn.microsoft.com/en-us/fabric/onelake/create-lakehouse-onelake to 
create a lakehouse and select files to load data.
   
   Clicking on Properties for a file used in the data load will display the 
Fabric URL and Azure Blob File System (ABFS) path. I have added a unit test[ 
object_store/tests/azure_object_store.rs](https://github.com/apache/arrow-rs/pull/4573/files#diff-aab9873dcec4984aee119db66108eb45b50b7d03f709913be92dcaf13bd460d8),
 which uses the OneLake URL scheme for read/write operations.
   
   
![image](https://github.com/apache/arrow-rs/assets/140655500/dcaa6825-b70c-4ee7-b3ca-d4945644441f)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to