-
Notifications
You must be signed in to change notification settings - Fork 595
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
AWS.DynamoDB.DocumentClient with DAX service scan & query are missing pagination usage/implementation #6507
Comments
Hi @BloodShop - thanks for reaching out. It appears that your questions revolve around services like DDB and DAX, rather than the AWS SDK itself. No worries though as I can internally communicate with the respective service teams to address your concerns. Additionally, I noticed that your code utilizes the AWS SDK for JavaScript v2, which is currently in maintenance mode. It would be advisable to consider upgrading to the latest aws-sdk-js-v3 version. |
Thank you for your help @aBurmeseDev . Please if you may provide example for best practices using daxClient for replacing ddbClient with node (Typescript would be great) |
I submitted an internal ticket to service team (ref: P157736270) for guidance and will post back when I hear back. |
Hi @BloodShop - I just heard back from service team member and please see their response addressed to your questions below.
Test with concat(): items = []
for (var i=0 ; i<5 ; i++) {
items.concat(i);
}
console.log(items)
### Output:
[] Test with push(): items = []
for (var i=0 ; i<5 ; i++) {
items.push(i);
}
console.log(items)
### Output:
[0, 1, 2, 3, 4] Please let me know if you continue to see issues. If yes, we'll need logs from your side on what response you are receiving from DAX.
|
Hey @aBurmeseDev , thanks for your answer.
|
@BloodShop - here's further response from service team:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Trying to figure out how to imlement the pagination of scan and query using
AWS.DynamoDB.DocumentClient
withamazon-dax-client
, cause for now this ain't returning the lastEvaludatedKey on the response.Is there any easier way to decorate the
DynamoDBClient
with DAX so I won't need to change in each use case ofDynamoDBClient
toAWS.DynamoDB.DocumentClient
instance?setup:
The scan operation:
Any suggetions?
The text was updated successfully, but these errors were encountered: