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

[FEATURE REQ]CosmosContainer.queryItems does not allow specifying the page size #43945

Open
2 tasks done
FabianMeiswinkel opened this issue Jan 27, 2025 · 1 comment
Open
2 tasks done
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@FabianMeiswinkel
Copy link
Member

Is your feature request related to a problem? Please describe.
CosmosContainer.queryItems does not allow specifying the page size. To do so, you have to use CosmosAsnyContainer.queryItems and then call the cotr of CosmosPagedIterable manually.

Describe the solution you'd like
Allow CosmosQueryRequestOptions to override page size

Describe alternatives you've considered
Allow creating asny or sync container/database form a singleton client

Additional context
n/a

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified
@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. Cosmos needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service Attention Workflow: This issue is responsible by Azure service team. labels Jan 27, 2025
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar @pjohari-ms @TheovanKraay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cosmos needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

1 participant