zachjsh commented on code in PR #15630:
URL: https://github.com/apache/druid/pull/15630#discussion_r1464043823


##########
extensions-core/azure-extensions/src/main/java/org/apache/druid/storage/azure/AzureCloudBlobIterator.java:
##########
@@ -91,8 +96,18 @@ public CloudBlobHolder next()
   private void prepareNextRequest()
   {
     URI currentUri = prefixesIterator.next();
-    currentContainer = currentUri.getAuthority();
-    currentPrefix = AzureUtils.extractAzureKey(currentUri);
+
+    if (currentUri.getScheme().equals(AzureStorageAccountInputSource.SCHEME)) {
+      CloudObjectLocation cloudObjectLocation = new 
CloudObjectLocation(currentUri);
+      Pair<String, String> containerInfo = 
AzureStorageAccountInputSource.getContainerAndPathFromObjectLocation(cloudObjectLocation);

Review Comment:
   ditto about maybe the need to validate the pair returned?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to