john_mizerany
01/29/2024, 6:07 PMreplication_key
in our config and meltano does pick up on the last state and when it hits the stream for incremental replication, it does log Beginning incremental sync of <stream_name>
, but then it does a full replication. Is that expected behavior?Edgar RamĂrez (Arch.dev)
01/29/2024, 6:49 PMjohn_mizerany
01/29/2024, 6:51 PMjohn_mizerany
01/29/2024, 7:56 PMreplication_key
meltano will automatically try to sync based off that key you provided, but will it stop the sync if it matches the last in the state?john_mizerany
01/29/2024, 7:56 PMEdgar RamĂrez (Arch.dev)
01/29/2024, 8:29 PMafter
query parameter to filter the response. Unfortunately, the singer sdk does not support incremental replication for APIs that don't support native filtering at the moment, see https://github.com/meltano/sdk/issues/226.john_mizerany
01/29/2024, 8:32 PMjohn_mizerany
01/29/2024, 8:32 PMEdgar RamĂrez (Arch.dev)
01/29/2024, 8:37 PMclass MyStream(RESTStream):
def get_records(self, context):
start_date = self.get_starting_timestamp(context)
for record in super().get_records():
if <your condition>:
break
yield record
john_mizerany
01/29/2024, 8:38 PM