Skip to content
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

Closed
wants to merge 7 commits into from
Closed

Conversation

bchong95
Copy link
Contributor

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.

  • Bug fix (non-breaking change which fixes an issue)
  • [ x] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@@ -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;
Copy link
Contributor

@j82w j82w Oct 30, 2019

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

Copy link
Contributor Author

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)

Copy link
Contributor

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.

@bchong95 bchong95 self-assigned this Oct 30, 2019
sboshra
sboshra previously approved these changes Nov 5, 2019
Copy link
Contributor

@sboshra sboshra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

@j82w j82w left a 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.

@kirankumarkolli kirankumarkolli changed the title Query Batching Query ExactPage semantics Jan 21, 2020
@bchong95
Copy link
Contributor Author

This PR is superceded by this one:
#1415

@bchong95 bchong95 closed this Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants