luis_henrique_barbosa_da_silva
07/02/2023, 9:17 PMtaylor
07/03/2023, 4:16 PMluis_henrique_barbosa_da_silva
07/03/2023, 5:24 PMplugins:
extractors:
- name: tap-google-sheets--extract
inherit_from: tap-google-sheets
config:
airbyte_config:
spreadsheet_id: <My Spreedsheet>
select:
- Test.*
mappers:
- name: map-transformer--pk
inherit_from: meltano-map-transformer
mappings:
- name: mapper_for_adding_key_properties
config:
stream_maps:
Test:
__key_properties__:
- "numero"
loaders:
- name: target-postgres--sheets
inherit_from: target-postgres
jobs:
- name: sheets-pipeline
tasks:
- tap-google-sheets--extract mapper_for_adding_key_properties target-postgres--sheets
luis_henrique_barbosa_da_silva
07/03/2023, 5:26 PMtaylor
07/03/2023, 5:32 PMplugins:
extractors:
- name: tap-google-sheets--extract
inherit_from: tap-google-sheets
config:
airbyte_config:
spreadsheet_id: <My Spreedsheet>
select:
- Test.*
stream_maps:
Test:
__key_properties__:
- "numero"
(check the spacing on that) but that should work and probably is a bit quicker than invoking the mapper separatelyluis_henrique_barbosa_da_silva
07/03/2023, 5:51 PMtaylor
07/03/2023, 7:09 PMluis_henrique_barbosa_da_silva
07/03/2023, 8:05 PMtaylor
07/03/2023, 8:23 PMluis_henrique_barbosa_da_silva
07/03/2023, 11:52 PMtaylor
07/04/2023, 1:44 PMluis_henrique_barbosa_da_silva
07/05/2023, 10:06 AMtaylor
07/05/2023, 3:05 PMextractors:
- name: your tap
metadata:
"*":
destination_sync_mode:overwrite
I’m basing that on https://docs.airbyte.com/understanding-airbyte/airbyte-protocol/#configuredairbytestream and https://docs.meltano.com/guide/integration#setting-metadata
perhaps @alexander_butler has set this before and knows more definitively?alexander_butler
07/05/2023, 3:07 PMreplication-method: FULL_TABLE
alexander_butler
07/05/2023, 3:09 PMplugins:
extractors:
- name: tap-google-sheets--extract
inherit_from: tap-google-sheets
config:
airbyte_config:
spreadsheet_id: <My Spreedsheet>
select:
- Test.*
metadata:
Test:
replication-method: FULL_TABLE
luis_henrique_barbosa_da_silva
07/05/2023, 6:22 PMalexander_butler
07/05/2023, 6:33 PMalexander_butler
07/05/2023, 6:33 PMreplication-method: FULL_TABLE
just guarantees that the source pulls all the data on each invocationluis_henrique_barbosa_da_silva
07/05/2023, 7:06 PMalexander_butler
07/05/2023, 7:07 PM