diff --git a/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryFeature.cs b/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryFeature.cs index 6e20108ea7..0b3ed7fdc1 100644 --- a/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryFeature.cs +++ b/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryFeature.cs @@ -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, } } \ No newline at end of file diff --git a/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryInfo.cs b/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryInfo.cs index d210a6daf6..fa796a4965 100644 --- a/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryInfo.cs +++ b/Microsoft.Azure.Cosmos/src/Query/Core/QueryPlan/QueryInfo.cs @@ -102,6 +102,13 @@ public bool HasSelectValue [JsonProperty("dCountInfo")] public DCountInfo DCountInfo + { + get; + set; + } + + [JsonProperty("hasNonStreamingOrderBy")] + public bool HasNonStreamingOrderBy { get; set;