-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query ExactPage semantics #946
Conversation
Microsoft.Azure.Cosmos/src/Query/Core/ExecutionContext/CosmosQueryExecutionContextFactory.cs
Show resolved
Hide resolved
Microsoft.Azure.Cosmos/src/Query/Core/ExecutionComponent/SkipDocumentQueryExecutionComponent.cs
Show resolved
Hide resolved
@@ -21,7 +21,7 @@ internal sealed class CosmosQueryExecutionContextFactory : CosmosQueryExecutionC | |||
internal const string InternalPartitionKeyDefinitionProperty = "x-ms-query-partitionkey-definition"; | |||
private const int PageSizeFactorForTop = 5; | |||
|
|||
internal readonly CosmosQueryContext CosmosQueryContext; | |||
public readonly CosmosQueryContext cosmosQueryContext; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why public? The class is internal. #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the class is internal so all the members will inherit that.
In reply to: 340572394 [](ancestors = 340572394)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can leave it as public, but it is easier to read if you leave it as internal. That way you don't have to go to the class to see if it public.
...soft.Azure.Cosmos/src/Query/Core/ExecutionContext/CosmosParallelItemQueryExecutionContext.cs
Show resolved
Hide resolved
...soft.Azure.Cosmos/src/Query/Core/ExecutionContext/CosmosParallelItemQueryExecutionContext.cs
Outdated
Show resolved
Hide resolved
...soft.Azure.Cosmos/src/Query/Core/ExecutionContext/CosmosParallelItemQueryExecutionContext.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the changelog. This is making a behavior change that is good for people to know that it changed.
This PR is superceded by this one: |
Query Batching
Description
Batching query pages together to try and fill out the user's max item count. This is avoid some CRIs. For compute we can fork these to allow for more preemptions.
Type of change
Please delete options that are not relevant.