Skip to content

Commit

Permalink
Docs: Update building-a-python-destination.md (#19516)
Browse files Browse the repository at this point in the history
If a user used `append_dedupe`, they get the error:

```
{
  "type": "LOG",
  "log": {
    "level": "FATAL",
    "message": "1 validation error for ConnectorSpecification\nsupported_destination_sync_modes -> 2\n  value is not a valid enumeration member; permitted: 'append', 'overwrite', 'append_dedup' (type=type_error.enum; enum_values=[<DestinationSyncMode.append: 'append'>, <DestinationSyncMode.overwrite: 'overwrite'>, <DestinationSyncMode.append_dedup: 'append_dedup'>])..."
  }
}
```
  • Loading branch information
lukehsiao authored Nov 29, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent e06bdf6 commit 84ab12f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ Some notes about fields in the output spec:
* `supported_destination_sync_modes`: An array of strings declaring the sync modes supported by this connector. The available options are:
* `overwrite`: The connector can be configured to wipe any existing data in a stream before writing new data
* `append`: The connector can be configured to append new data to existing data
* `append_dedupe`: The connector can be configured to deduplicate \(i.e: UPSERT\) data in the destination based on the new data and primary keys
* `append_dedup`: The connector can be configured to deduplicate \(i.e: UPSERT\) data in the destination based on the new data and primary keys
* `supportsIncremental`: Whether the connector supports any `append` sync mode. Must be set to true if `append` or `append_dedupe` are included in the `supported_destination_sync_modes`.

Some helpful resources:

0 comments on commit 84ab12f

Please sign in to comment.