Azure / Azure/azure-sdk-for-python

[Cosmos] make queries fetch query plan in every query

Abierto
#38,577 1 comentario 0 reacciones 1 asignado Reclamado por @simorenoh Ver en GitHub
Cosmos
Lenguaje dominante
Python
Estrellas
5.6k
Forks
3.4k
Merge medio
2 d 2 h
PR fusionados (30 d)
213

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.