raulcd commented on code in PR #55299:
URL: https://github.com/apache/arrow/pull/55299#discussion_r4586000994


##########
cpp/src/arrow/filesystem/azurefs.cc:
##########
@@ -3561,4 +3561,15 @@ Result<std::string> AzureFileSystem::PathFromUri(const 
std::string& uri_string)
   return path;
 }
 
+static Result<std::shared_ptr<FileSystem>> AzureFileSystemFactory(
+    const Uri& uri, const io::IOContext& io_context, std::string* out_path) {
+  ARROW_ASSIGN_OR_RAISE(auto options, AzureOptions::FromUri(uri, out_path));
+  return AzureFileSystem::Make(options, io_context);
+}
+
+FileSystemRegistrar kAzureFileSystemRegistrar[]{
+    ARROW_REGISTER_FILESYSTEM("abfs", AzureFileSystemFactory, {}),
+    ARROW_REGISTER_FILESYSTEM("abfss", AzureFileSystemFactory, {}),
+};
+

Review Comment:
   This is exactly the same as we do for s3 and gcs. Might be a problem but we 
haven't had issues with this yet.



-- 
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