Add a new capability for non streaming order by in QueryFeatures and add a new flag to QueryInfo that will be used by ServiceInterop to indicate non streaming order by queries (#4446)

This commit is contained in:
neildsh 2024-04-23 10:25:49 -07:00 коммит произвёл GitHub
Родитель 400abfd518
Коммит 85a8444b84
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -27,6 +27,7 @@ namespace Microsoft.Azure.Cosmos.Query.Core.QueryPlan
OrderBy = 1 << 7,
Top = 1 << 8,
NonValueAggregate = 1 << 9,
DCount = 1 << 10
DCount = 1 << 10,
NonStreamingOrderBy = 1 << 11,
}
}

Просмотреть файл

@ -102,6 +102,13 @@ namespace Microsoft.Azure.Cosmos.Query.Core.QueryPlan
[JsonProperty("dCountInfo")]
public DCountInfo DCountInfo
{
get;
set;
}
[JsonProperty("hasNonStreamingOrderBy")]
public bool HasNonStreamingOrderBy
{
get;
set;