DynamoDB Table Resource should support Pagination for Scan and Query
See original GitHub issueThe boto3 “Table” Resource API does not provide easy access to paged results when using Scan or Query actions. That’s unlike other high level boto3 Resource APIs like S3 which supports s3.Bucket('bucket').objects.pages()
.
The underlying DynamoDB client supports pagination, which leaves the boto3 user with the choice between nice attribute access + ugly pagination or ugly attribute access + nice pagination, which is unfortunate.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:29
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Paginating table query results - Amazon DynamoDB
DynamoDB paginates the results from Query operations. With pagination, the Query results are divided into "pages" of data that are 1 MB in...
Read more >Querying and Pagination with DynamoDB | Cloudbees Blog
This article explains how to work with query and scan operations and when to use which operation. Pagination is very different than SQL ......
Read more >DynamoDB Pagination - The Ultimate Guide (with Example)
This DynamoDB pagination tutorial covers everything about pages, LastEvaluatedKey, ExclusiveStartKey in the context of Queries and Scans.
Read more >Paginating table query results - Amazon ... - 亚马逊云科技
With pagination, the Query results are divided into "pages" of data that are 1 MB in size (or less). An application can process...
Read more >The surprising properties of DynamoDB pagination
This means when a query or a scan operation potentially return more results then the result contains a LastEvaluatedKey field with some value....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you all for checking in and apologies for the delay.
We created a backlog item to look into this feature request and if anyone wants to share additional use cases or feedback then please feel free to leave a comment. Although we can’t give a definite timeline at the moment, we’ll make sure to keep it posted as soon as we have an update and please feel free to check back here in the future.
@rbu Thank you much for this, I’m also interested. I’m surprised by there being relatively little activity on this issue. But I suppose if the consumers of DynamoDB that aren’t using some sort of ORM already are the main ones affected; I’m not really surprised. They’re already dealing a lot with some gnarly JSON blobs.