azure-sdk-for-js: Looking for example and more information on BlobServiceClient.findBlobsByTags() and BlockBlobClient.query() APIs
Query/Question How can we help?
Environment:
- Name and version of the Library package used: [e.g. Azure.Storage.Blobs 12.2.0]
@azure/storage-blob@12.4.0
- Hosting platform or OS and .NET runtime version (
dotnet --info
output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8] - IDE and version : [e.g. Visual Studio 16.3]
-
We are looking for complete example for
BlobServiceClient.findBlobsByTags()
usage in the implementation. We have tried searching but could not find any example format for thetagFilterSqlExpression
parameter. Also, looking for exact use case reference for using thetags
for the blobs. -
We are looking for complete example for
BlockBlobClient.query()
usage in the implementation. We have tried searching but could not find any example for searching theblob content
data. Also, looking for exact use case reference for using thequery
forsearching
the blob content.
- Also, please share the reference for the
query
language used. - For Example:
- Blob Name: Expenses_Month _Wise_Year_2020.csv - this file contains all the expenses occurred in every month where
Month
is column. -
- Blob Name: Income_Month _Wise_Year_2020.csv - this file contains all the incomes from every month where
Month
is column.
- Blob Name: Income_Month _Wise_Year_2020.csv - this file contains all the incomes from every month where
- Use Case 1: Retrieve the blobs which has the value as
January
where the column name isMonth
using query. (retrieving the blobs from theContainer
based on blobs data) - Use Case 2: Retrieve the blob data which has the value as
January
where the column name isMonth
.(retrieving data from singleblob
)
- Blob Name: Expenses_Month _Wise_Year_2020.csv - this file contains all the expenses occurred in every month where
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (11 by maintainers)
Commits related to this issue
- CodeGen from PR 13344 in Azure/azure-rest-api-specs change boolean to enum (#13344) Co-authored-by: Gal Moshe <gamoshe@microsoft.com> — committed to AzureSDKAutomation/azure-sdk-for-js by deleted user 3 years ago
Thank you @ljian3377, The example for
BlobServiceClient.findBlobsByTags()
working as expected.Now only we only need steps for
Enable query acceleration
from UI. If you could provide some inputs that will help us.