Azure / azure-sdk-for-cpp

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

Open bzhou-sw opened 1 week ago

bzhou-sw commented 1 week ago

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):

github-actions[bot] commented 1 week ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Jinming-Hu @microzchang @vinjiang.