Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is finding blobs by tags supported? #1312

Open
kurt-mueller-osumc opened this issue Feb 1, 2022 · 6 comments
Open

Is finding blobs by tags supported? #1312

kurt-mueller-osumc opened this issue Feb 1, 2022 · 6 comments
Assignees
Labels
featureparity Tracking issues for catching up feature parity

Comments

@kurt-mueller-osumc
Copy link

kurt-mueller-osumc commented Feb 1, 2022

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the Azurite was used?

Azurite docker image, tag 3.15

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

DockerHub

What's the Node.js version?

n/a

What problem was encountered?

Calling BlobServiceClient.FindBlobsByTags results in a 400 http error.

Steps to reproduce the issue?

You can find a script file that reproduces the issue here:
https://github.com/kurt-mueller-osumc/Azure.Starter.Functions/blob/main/scratch.fsx

#r "nuget: Azure.Storage.Blobs, 12.11.0-beta.2"

open Azure.Core
open Azure.Storage.Blobs

open System

let connectionString = Environment.GetEnvironmentVariable("AzureWebJobsStorage")

let serviceClient = BlobServiceClient(connectionString)

let searchClause = "@container = 'samples-workitems'"

let containers = serviceClient.GetBlobContainers() // works correctly
let results = serviceClient.FindBlobsByTags(searchClause) // returns an http 400 error

I suspect that FindBlobsByTags isn't supported by Azurite yet. Is that the case and if so, when will support for this method be added?

@blueww blueww added the featureparity Tracking issues for catching up feature parity label Feb 7, 2022
@blueww blueww self-assigned this Feb 7, 2022
@blueww
Copy link
Member

blueww commented Feb 7, 2022

@kurt-mueller-osumc
Blob tag is still not supported by Azurite, you can find it in "Following features or REST APIs are NOT supported" in https://github.com/Azure/Azurite#support-matrix.
And we have another issue to follow blob tag support in Azurite: #647

@jfurmankiewiczpros
Copy link

Hi, any ETA on this?
We just filed a bug in the Azure SDK itself, as it is throwing a NullPointerException when connected to Azurite, due to lack of '501 Not Implemented'

See:
Azure/azure-sdk-for-java#33672

@jfurmankiewiczpros
Copy link

See this comment in particular:

Azure/azure-sdk-for-java#33672 (comment)

@blueww
Copy link
Member

blueww commented Feb 23, 2023

@jfurmankiewiczpros
This feature is still not supported in Azurite.
We are working on a plan to implement it.
However, as the feature impact many existing APIs, and also add several new APIs, the implementation will take time.
Will update you when the feature is added to Azurite.

@toby-smallwood-talogy
Copy link

@blueww
I've just encountered this issue when trying to find blobs by tags using the Azurite emulator and see you last commented on this in Feb 2023. Seeing that was 10 months ago, are you able to provide an update as to when we can expect this to be supported please?

@EmmaZhu
Copy link
Collaborator

EmmaZhu commented Dec 20, 2023

Hi @psiservices-tsmallwood , the feature is under design and review. We have a draft PR for it here: #2311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
featureparity Tracking issues for catching up feature parity
Projects
None yet
Development

No branches or pull requests

5 participants