Skip to content

Commit

Permalink
Add a new capability for non streaming order by in QueryFeatures and …
Browse files Browse the repository at this point in the history
…add a new flag to QueryInfo that will be used by ServiceInterop to indicate non streaming order by queries (#4446)
  • Loading branch information
neildsh committed Apr 23, 2024
1 parent 400abfd commit 85a8444
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ enum QueryFeatures : ulong
OrderBy = 1 << 7,
Top = 1 << 8,
NonValueAggregate = 1 << 9,
DCount = 1 << 10
DCount = 1 << 10,
NonStreamingOrderBy = 1 << 11,
}
}
7 changes: 7 additions & 0 deletions Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ public bool HasSelectValue

[JsonProperty("dCountInfo")]
public DCountInfo DCountInfo
{
get;
set;
}

[JsonProperty("hasNonStreamingOrderBy")]
public bool HasNonStreamingOrderBy
{
get;
set;
Expand Down

0 comments on commit 85a8444

Please sign in to comment.