Azure / Azure/azure-sdk-for-python
[Cosmos] make queries fetch query plan in every query
Aperta
Cosmos
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g
- PR unite (30g)
- 217
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.