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

docstore/awsdynamodb: Fix Query for cases where the underlying query to AWS returns an empty set, but there's still more data #3408

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vangent
Copy link
Contributor

@vangent vangent commented Mar 22, 2024

Fixes #3405

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 73.16%. Comparing base (3f641fd) to head (cb56d76).

Files Patch % Lines
docstore/awsdynamodb/query.go 66.66% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3408      +/-   ##
==========================================
+ Coverage   73.15%   73.16%   +0.01%     
==========================================
  Files         113      113              
  Lines       14872    14874       +2     
==========================================
+ Hits        10880    10883       +3     
  Misses       3218     3218              
+ Partials      774      773       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vangent vangent force-pushed the awsdynamo branch 3 times, most recently from d18befa to 82e5f0a Compare March 22, 2024 01:03
bartventer added a commit to bartventer/go-cloud that referenced this pull request Mar 22, 2024
…or.Next

This commit enhances the test coverage for `documentIterator.Next` in `docstore/awsdynamodb/query_test.go`.

Related: google#3408
bartventer added a commit to bartventer/go-cloud that referenced this pull request Mar 22, 2024
…ries

- This commit extends the test coverage for Offset and Limit related queries in `docstore/drivertest/drivertest.go`.
- Added additional test cases for `Limit` and `Offset` to `TestInvalidQuery` in `docstore/query_test.go`.

Related: google#3408
…to AWS returns an empty set, but there's still more data
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.

docstore/awsdynamodb panics on iter.Next()
1 participant