我有一个与我的PC连接的MySQL服务器。在DynamoDB和MySQL数据库中都有一个名为“ purchase”的表。当我尝试从购买表中删除一列(“规则操作”:“删除”)时,整个表都将被删除。表映射如下:
{
"rules": [
{
"rule-type": "selection",
"rule-id": "1",
"rule-name": "1",
"object-locator": {
"schema-name": "mydatabase",
"table-name": "purchase"
},
"rule-action": "include"
},
{
"rule-type": "transformation",
"rule-id": "2",
"rule-name": "2",
"rule-target": "column",
"object-locator": {
"schema-name": "mydatabase",
"table-name": "purchase",
"column-name": "quantity"
},
"rule-action": "remove-column"
}
]}