github-code-scanning[bot] commented on code in PR #14660:
URL: https://github.com/apache/druid/pull/14660#discussion_r1274408405
##########
extensions-core/azure-extensions/src/main/java/org/apache/druid/storage/azure/AzureStorage.java:
##########
@@ -120,11 +145,44 @@
public InputStream getBlobInputStream(long offset, final String
containerName, final String blobPath)
throws URISyntaxException, StorageException
+ {
+ return getBlobInputStream(offset, null, containerName, blobPath);
+ }
+
+ public InputStream getBlobInputStream(long offset, Long length, final String
containerName, final String blobPath)
+ throws URISyntaxException, StorageException
{
CloudBlobContainer container =
getOrCreateCloudBlobContainer(containerName);
- return container.getBlockBlobReference(blobPath).openInputStream(offset,
null, null, null, null);
+ return container.getBlockBlobReference(blobPath).openInputStream(offset,
length, null, null, null);
}
+ public void batchDeleteFiles(String containerName, Iterable<String> paths)
+ throws URISyntaxException, StorageException
+ {
+ CloudBlobContainer cloudBlobContainer =
getOrCreateCloudBlobContainer(containerName);
Review Comment:
## Unread local variable
Variable 'CloudBlobContainer cloudBlobContainer' is never read.
[Show more
details](https://github.com/apache/druid/security/code-scanning/5294)
--
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]