1
0
mirror of synced 2026-01-05 03:04:38 -05:00
Files
airbyte/docs/integrations/sources/dynamodb.md
Ivica Taseski a2d24b5abf 🎉 New Source: Dynamodb (#18750)
* dynamodb source connector

* code cleanup

* code cleanup

* add date type filtering

* add doc

* revert integer schema primitive

* add dynamodb to source def

* auto-bump connector version

Co-authored-by: itaseski <itaseski@debian-BULLSEYE-live-builder-AMD64>
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
2022-11-14 12:21:50 -03:00

65 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Dynamodb
The Dynamodb source allows you to sync data from Dynamodb. The source supports Full Refresh and Incremental sync strategies.
## Resulting schema
Dynamodb doesn't have table schemas. The discover phase has three steps:
### Step 1. Retrieve items
The connector scans the table with a scan limit of 1k and if the data set size is > 1MB it will initiate another
scan with the same limit until it has >= 1k items.
### Step 2. Combining attributes
After retrieving the items it will combine all the different top level attributes found in the retrieved items. The implementation
assumes that the same attribute present in different items has the same type and possibly nested attributes values.
### Step 3. Determine property types
For each item attribute found the connector determines its type by calling AttributeValue.type(), depending on the received type it will map the
attribute to one of the supported Airbyte types in the schema.
## Features
| Feature | Supported |
| :--- | :--- |
| Full Refresh Sync | Yes |
| Incremental - Append Sync | Yes |
| Replicate Incremental Deletes | No |
| Namespaces | No |
### Full Refresh sync
Works as usual full refresh sync.
### Incremental sync
Cursor field can't be nested, and it needs to be top level attribute in the item.
Cursor should **never** be blank. and it needs to be either a string or integer type - the incremental sync results might be unpredictable and will totally rely on Dynamodb comparison algorithm.
Only `ISO 8601` and `epoch` cursor types are supported. Cursor type is determined based on the property type present in the previously generated schema:
* `ISO 8601` - if cursor type is string
* `epoch` - if cursor type is integer
## Getting started
This guide describes in details how you can configure the connector to connect with Dynamodb.
### Сonfiguration Parameters
* endpoint: aws endpoint of the dynamodb instance
* region: the region code of the dynamodb instance
* access_key_id: the access key for the IAM user with the required permissions
* secret_access_key: the secret key for the IAM user with the required permissions
## Changelog
| Version | Date | Pull Request | Subject |
|:--------|:-----|:-------------|:--------|
| | | | |