You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
I'm unable to limit the number of results in a dynamodb query operation, the following snippet returns 23k messages instead of 50. Why is the result set size so big?
After reading the code, I believe the limit parameter only sets the "per-page-limit".
But since the AWScala dynamodb table.query uses the QueryResultPager under the hood which gets converted into a stream it still will result in the full set of items.
You might need to use the ResultPager directly, to only get the first page.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm unable to limit the number of results in a dynamodb query operation, the following snippet returns 23k messages instead of 50. Why is the result set size so big?
The text was updated successfully, but these errors were encountered: