Duan Uys
07/16/2021, 4:09 AMs
discover
and convert it to a configured catalog. what that entails is configuring each stream additionally with its configured sync modes and cursor fields if required. For example, if you had the following catalog:
{
"streams": [
{
"name": "users",
"json_schema": {
"type":"object",
"properties": ...
},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true
}
]
}
you’d convert it to a configured catalog like so:
{
"streams": [
{
"stream": {
"name": "users",
"json_schema": {
"type":"object",
"properties": ...
},
"supported_sync_modes": ["incremental", "full_refresh"],
"source_defined_cursor": true,
"primary_key": [["id"]]
},
"sync_mode": "incremental",
"user_configured_primary_key": [["id"]],
"destination_sync_mode": "overwrite"
}
]
}
s
James Mulholland
01/18/2024, 12:29 PMMarcos Marx (Airbyte)
01/18/2024, 1:21 PMJames Mulholland
01/19/2024, 11:51 AM