fix: BATCH
sync does not record a max replication key value in emitted STATE
#12
Labels
BATCH
sync does not record a max replication key value in emitted STATE
#12
Related to:
max_replication_key_value
viaSELECT max(<replication_key>) ...
before starting a nativeBATCH
sync meltano/sdk#976As noted there, the simply fix is to run a
SELECT max(<replication_key>) FROM <table>
prior to querying the batches. The developer can then leverage this inget_batches()
for subsequent sync using the normalget_replication_key_value()
method, and then filtering the query to be limited by the max replication key value.The text was updated successfully, but these errors were encountered: