Tony Ouyang f4da93988e
feat(ingestion/dynamodb): Add DynamoDB as new metadata ingestion source (#8768)
Co-authored-by: Mayuri Nehate <33225191+mayurinehate@users.noreply.github.com>
2023-09-15 13:26:17 -07:00

1.2 KiB

Limitations

For each region, the list table operation returns maximum number 100 tables, we need to further improve it by implementing pagination for listing tables

Advanced Configurations

Using include_table_item config

If there are items that have most representative fields of the table, user could use the include_table_item option to provide a list of primary keys of a table in dynamodb format, those items from given primary keys will be included when we scan the table.

Take AWS DynamoDB Developer Guide Example tables and data as an example, if user has a table Reply with composite primary key Id and ReplyDateTime, user can use include_table_item to include 2 items as following:

Example:

# put the table name and composite key in DynamoDB format
include_table_item:
  Reply:
    [
      {
        "ReplyDateTime": { "S": "2015-09-22T19:58:22.947Z" },
        "Id": { "S": "Amazon DynamoDB#DynamoDB Thread 1" },
      },
      {
        "ReplyDateTime": { "S": "2015-10-05T19:58:22.947Z" },
        "Id": { "S": "Amazon DynamoDB#DynamoDB Thread 2" },
      },
    ]