Hi all, I've been doing some reading on incrementa...
# documentation
j
Hi all, I've been doing some reading on incremental replication on Meltano's documentation (https://docs.meltano.com/guide/integration/#replication-methods) and I am kind of confused by the following code that appears above in https://docs.meltano.com/guide/integration/#setting-metadata. Isn't it a requirement to always include a
replication-key
if you are doing a
replication-method
of INCREMENTAL?
Copy code
extractors:
          - name: tap-postgres
            metadata:
              some_entity_id:
                replication-method: INCREMENTAL
                replication-key: id
              other_entity:
                replication-method: FULL_TABLE
              "*":
                replication-method: INCREMENTAL
              "*_full":
                replication-method: FULL_TABLE
1
What happens if no key is provided?
e
What happens if no key is provided?
Depends on the tap implementation, but it would most likely fail. And yeah, that example probably needs to add a replication key to the
*
rule.
👍 1
j
I figured as much but thought I'd inquire just in case. Thank you!
np 1