OliLay commented on code in PR #43098:
URL: https://github.com/apache/arrow/pull/43098#discussion_r1704112261


##########
cpp/src/arrow/filesystem/azurefs.cc:
##########
@@ -3199,4 +3199,23 @@ Result<std::shared_ptr<io::OutputStream>> 
AzureFileSystem::OpenAppendStream(
   return impl_->OpenAppendStream(location, metadata, false, this);
 }
 
+Result<std::string> AzureFileSystem::PathFromUri(const std::string& 
uri_string) const {
+  std::string path;
+  Uri uri;
+  RETURN_NOT_OK(uri.Parse(uri_string));
+  RETURN_NOT_OK(AzureOptions::FromUri(uri, &path));
+
+  std::vector<std::string> supported_schemes = {"abfs", "abfss"};

Review Comment:
   Good idea, I added a comment. :+1: 



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to