This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
177
stars
126
forks
source link
Can blockBlobClient.GetBlockList() include each block's timestamp? #6240
Query/Question
We need to get flows in a specific time frame, means for each blob we only want to process those committed blocks whose timestamp is within the desired time frame.
We don't want to download the entire blob each time, so we use GetBlockList() to list committed blocks. However, the response does not provide time information for each block, we have to download a block to know its timestamp, which is very inefficient. We try to predict the block's time using block index with assumption of "one block per minute" in the blob, but the assumption is not guaranteed to be correct.
Is there a better way to know block's time? Or is it possible to include each block's time in GetBlockList() response.
Why is this not a Bug or a feature Request?
A clear explanation of why is this not a bug or a feature request?
Want to check if any existing method can serve our need first. If not, then would like to add a feature request to include each block's time in GetBlockList() response.
Setup (please complete the following information if applicable):
OS: Ubuntu:jammy
IDE : N/A
Version of the Library used: tag: azure-storage-blobs_12.13.0
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Query/Question We need to get flows in a specific time frame, means for each blob we only want to process those committed blocks whose timestamp is within the desired time frame. We don't want to download the entire blob each time, so we use
GetBlockList()
to list committed blocks. However, the response does not provide time information for each block, we have to download a block to know its timestamp, which is very inefficient. We try to predict the block's time using block index with assumption of "one block per minute" in the blob, but the assumption is not guaranteed to be correct.Is there a better way to know block's time? Or is it possible to include each block's time in
GetBlockList()
response.Why is this not a Bug or a feature Request? A clear explanation of why is this not a bug or a feature request?
Want to check if any existing method can serve our need first. If not, then would like to add a feature request to include each block's time in
GetBlockList()
response.Setup (please complete the following information if applicable):
Ubuntu:jammy
Version of the Library used:
tag: azure-storage-blobs_12.13.0
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report