简体   繁体   English

数据未在 DynamoDB 表中检索,但未在 DynamoDBv2 中检索

[英]Data is not retrieved in DynamoDB table but not in DynamoDBv2

在此处输入图像描述

This is the data I receive which inserts into my dynamodb table perfectly fine as seen in the image below.这是我收到的数据,它完美地插入到我的 dynamodb 表中,如下图所示。 在此处输入图像描述 However, I want it to be sorted into multiple columns so I changed the action to DynamoDBv2.但是,我希望它被排序到多个列中,所以我将操作更改为 DynamoDBv2。 Upon doing this, it stopped receiving the data.这样做后,它停止接收数据。 I tried to create a new table, role, and rule but it still did not receive anything.我尝试创建一个新表、角色和规则,但它仍然没有收到任何东西。 I tried to change the table back into the normal dynamoDB, and it worked but it saved all data (buttonPress and id) in a single column, which is not what I wanted.我试图将表改回正常的 dynamoDB,它起作用了,但它将所有数据(buttonPress 和 id)保存在一个列中,这不是我想要的。

Current Payload:当前有效载荷: 在此处输入图像描述

SQL Statement: SQL 声明: 在此处输入图像描述

DescribeTable output:描述表 output: 在此处输入图像描述

Any input is very well appreciated.非常感谢任何输入。

Your rule should select both the keys from the payload also您的规则应该是 select 有效负载中的两个键

SELECT Date, Time, buttonPress from topic

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM