As 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 in get_batches() for subsequent sync using the normal get_replication_key_value() method, and then filtering the query to be limited by the max replication key value.
Related to:
As 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.