Advanced Configurations
Daton supports a variety of loading modes across its connectors, and this documentation provides a brief overview of them.
Advanced Configurations
Daton supports a variety of loading modes across its connectors, and this documentation provides a brief overview of them.
Loading Mode Overview
1. Append Mode
- Key Benefit: It helps in tracking the history of changes. For example, different stages of an order can be tracked by appending each stage into the warehouse.
- Drawback: Over time, the table size grows significantly.
2. Upsert Mode
- If the primary key exists: The corresponding record is updated.
- If the primary key does not exist: A new record is inserted.
- Key Benefit: This mode ensures that only the latest information is stored, based on the defined primary keys.
- Drawback: You cannot preserve historical data since only the latest record is retained.
Unnesting Modes
1. Do Not Unnest
- Use Case: When you want to maintain the original structure of the nested data and access it directly as a single column.
2. Up to One Level
- Use Case: When you want partial unnesting, splitting off the first level but keeping deeper levels of nesting intact.
3. Up to Two Levels
- Use Case: When you need more detailed unnesting, separating data across two levels.