OliLay commented on PR #43098: URL: https://github.com/apache/arrow/pull/43098#issuecomment-2238423929
> It seems that other filesystem implementations use `internal::PathFromUriHelper()`. Can we use it in Azure filesystem too? I tried that at first, but the issue is that for Azure we have to support different URI schemes where the authority is handled differently. An example: `abfss://storageacc.blob.core.windows.net/container/some/path` vs. `abfss://acc:pw@container/some/path` where both are accepted URIs by arrow and should yield the same path `container/some/path`. So just using `internal::PathFromUriHelper()` (either with prepending the authority or with not prepending it) would break parsing one of these URIs. So we'll have to check which kind of URI we have and decide based on that - I saw this is already implemented in `AzureOptions::FromUri` (and this also returns the path), so I just used this. -- 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]
