azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[Cosmos] Adds support for non streaming ORDER BY

Open simorenoh opened this issue 1 year ago • 0 comments

Python follow-up to the .NET PR: https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4362

Using the flag for nonStreamingOrderBy that is now present in the query plan, we choose to create a separate query execution context for these types of operations, draining the results from all the partitions into a priority queue and then returning those results to the user.

This PR includes changes for the following:

  • [x] sync client support for dealing with non streaming order by
  • [ ] async client support for dealing with non streaming order by
  • [ ] samples
  • [ ] tests
  • [ ] readme

simorenoh avatar May 03 '24 08:05 simorenoh