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

Bug: Dynamodb sink error #17572

Closed
xxhZs opened this issue Jul 4, 2024 · 1 comment · Fixed by #17645
Closed

Bug: Dynamodb sink error #17572

xxhZs opened this issue Jul 4, 2024 · 1 comment · Fixed by #17645
Assignees
Labels
no-issue-activity type/bug Something isn't working
Milestone

Comments

@xxhZs
Copy link
Contributor

xxhZs commented Jul 4, 2024

Describe the bug

No response

Error message/log

unhandled error (ValidationException): Error { code: "ValidationException", message: "1 validation error detected: Value '{test_bench=[WriteRequest(putRequest=PutRequest(item={v1=com.amazonaws.dynamodb.v20120810.AttributeValue@79175931, v2=com.amazonaws.dynamodb.v20120810.AttributeValue@79175931, v3=com.amazonaws.dynamodb.v20120810.AttributeValue@8b8acbce, v4=com.amazonaws.dynamodb.v20120810.AttributeValue@8b8acbce}, workloadProfileName=null), deleteRequest=null), 
。。。。。
WriteRequest(putRequest=PutRequest(item={v1=com.amazonaws.dynamodb.v20120810.AttributeValue@23057457, v2=com.amazonaws.dynamodb.v20120810.AttributeValue@39c93d37, v3=com.amazonaws.dynamodb.v20120810.AttributeValue@f1effaa0, v4=com.amazonaws.dynamodb.v20120810.AttributeValue@f1effaa0}, workloadProfileName=null), deleteRequest=null), WriteRequest(putRequest=PutRequest(item={v1=com.amazonaws.dynamodb.v20120810.AttributeValue@e974423b, v2=com.amazonaws.dynamodb.v20120810.AttributeValue@5d252874, v3=com.amazonaws.dynamodb.v20120810.AttributeValue@f2860a82, v4=com.amazonaws.dynamodb.v20120810.AttributeValue@f2860a82}, workloadProfileName=null), deleteRequest=null)]}' at 'requestItems' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 25, Member must have length greater than or equal to 1]",

To Reproduce

CREATE table user_behaviors (
    v1 int,
v2 bigint, v3 varchar, v4 varchar
) WITH (
    connector = 'datagen',
    fields.user_id.kind = 'sequence',
    fields.user_id.start = '1',
    fields.user_id.end = '1000000',
    datagen.rows.per.second = '10000'
) FORMAT PLAIN ENCODE JSON; 

create sink s1 from user_behaviors with(connector='dynamodb',
  type='append-only',
  force_append_only='true',
  aws.region='ap-southeast-2',
  dynamodb.table='test_bench',
  aws.credentials.access_key_id='xxxx',
  aws.credentials.secret_access_key='xxxx',
  primary_key='v1');

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

@xxhZs xxhZs added the type/bug Something isn't working label Jul 4, 2024
@github-actions github-actions bot added this to the release-1.10 milestone Jul 4, 2024
@xxhZs xxhZs self-assigned this Jul 10, 2024
@fuyufjh fuyufjh modified the milestones: release-1.10, release-1.11 Jul 10, 2024
Copy link
Contributor

github-actions bot commented Sep 9, 2024

This issue has been open for 60 days with no activity.

If you think it is still relevant today, and needs to be done in the near future, you can comment to update the status, or just manually remove the no-issue-activity label.

You can also confidently close this issue as not planned to keep our backlog clean.
Don't worry if you think the issue is still valuable to continue in the future.
It's searchable and can be reopened when it's time. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants