azure-sdk-for-python
azure-sdk-for-python copied to clipboard
[Cosmos] Adds support for non streaming ORDER BY
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