Azure / Azure/azure-sdk-for-python

[Cosmos] make queries fetch query plan in every query

Offen
#38,577 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @simorenoh Auf GitHub ansehen
Cosmos
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T.
Gemergte PRs (30 T.)
217

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.