-
Notifications
You must be signed in to change notification settings - Fork 330
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
Fails to filter blobs by tags - HTTP 500 with multiple conditions on single tag #2514
Comments
@EmmaZhu |
I am using Azurite 3.33.0 in my Python project, but I am encountering issues when attempting to query blobs with multiple greater than / smaller than conditions on the same tag, which does work on the actual blob storage. Specifically, the query fails with an HttpResponseError (Internal Server Error) mentioning the errorMessage The following query works fine for filtering by a single tag:
However, when I attempt to combine multiple conditions using AND, like this:
I get the following error: The debug shows:
|
This is not debug log.
Following is the sample commandline:
|
The logs indicate that it is caused by using multiple conditions for a single tag. However it is to find blobs in a specific range, which works on the actual blob storages.
|
Hi @aaronenberg-msft , I can reproduce the issue and will fix it later. |
I am testing azurite 3.33.0 support for finding blobs by index tags and it is failing with a HTTP 500 with this WHERE clause:
The error message is:
Error: can't have multiple conditions for a single tag unless they define a range
My expectation is that this should succeed given this is the same format used with Azure Blob Storage.
Here is the full debug log for the request:
The text was updated successfully, but these errors were encountered: