5

I'm trying to migrate data from MongoDB to DynamoDB. Based on my test, it seems DMS can only convert array into string. For example:

{ data: ['one', 'two', 'three']}

It will be

{ data: { 'S': [\"one\", \"two\", \"three\"] } }

Is it possible to convert it to List or Set using object-mapping? Or, there is already an official solution that I miss?

zeck
  • 769
  • 1
  • 7
  • 13
  • Yes, i'm using table mode. – zeck Oct 03 '18 at 15:09
  • Hey zeck, how did you end up doing that? I'm thinking about having lambda piped to output table that would be transforming arrays & dates. – Marigold Sep 25 '19 at 11:23
  • How to transfer this type of data. "SalesRep" : { "SalesRepName" : [ "XYZ" ], "SalesRepEmail" : [ "abc@gmail.com" ] } in DynamoDB looks like: "array_SalesRep.SalesRepName": "[ \"XYZ\" ]", "array_SalesRep.SalesRepEmail": "[ \"ABC\" ]" – Dilip Kr Singh Oct 25 '19 at 07:55

0 Answers0