[Cosmos][VectorSearch] Non Streaming Order By Query#40085
Merged
Conversation
Increment package versions for core releases
* Added Alpha3 Java Media Streaming Events * updating readme to add the media streaming events to remove model --------- Co-authored-by: Vinothini Dharmaraj <v-vdharmaraj@microsoft.com>
…re#40012) Co-authored-by: James Suplizio <jasupliz@microsoft.com>
* SDK Review updates * Update auto-generated models * Add customization * Fix customization * Update package * Update tests * Linting
* release azure-cosmos-test 1.0.0.beta.7 --------- Co-authored-by: annie-mac <xinlian@microsoft.com>
Collaborator
|
API change check API changes are not detected in this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This update introduces support for non-streaming OrderBy, essential for vector search capabilities. Previously, the SDK operated under the assumption that documents returned in response to ORDER BY queries were fully ordered across all continuations. However, with the newly implemented non-streaming OrderBy feature in the backend, this assumption is no longer valid. The backend communicates this change through a new field in the Query Plan, _hasNonStreamingOrderBy, which is set to true when applicable.
In scenarios where _hasNonStreamingOrderBy is true, a new pipeline stage for non-streaming order by is established. This stage functions as a blocking pipeline stage, similar to the GROUP BY stage, and is designed to accumulate all backend responses before yielding any results.
A new query feature by the name of
NonStreamingOrderByhas also been added..Net PR for the same: Azure/azure-cosmos-dotnet-v3#4362
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines