This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k
stars
2.84k
forks
source link
[Cosmos] make queries fetch query plan in every query #38577
Currently the SDK attempts to directly send the queries to the backend, and only upon receiving a 400/1004 will it request the query plan. We should consider always fetching the query plan pre-emptively to save on the additional request that gets sent and fails for most queries being sent. It is my understanding that the .NET SDK behaves this way by default as well.
Currently the SDK attempts to directly send the queries to the backend, and only upon receiving a 400/1004 will it request the query plan. We should consider always fetching the query plan pre-emptively to save on the additional request that gets sent and fails for most queries being sent. It is my understanding that the .NET SDK behaves this way by default as well.
Follow-up item to https://github.com/Azure/azure-sdk-for-python/pull/38275.