visch
04/03/2023, 7:18 PMvisch
04/03/2023, 7:23 PMalexander_butler
04/03/2023, 7:53 PM>=
check here in the short-circuited comparison. That way state updates on each records as a presumption for your specific stream class.visch
04/03/2023, 7:54 PMedgar_ramirez_mondragon
04/03/2023, 8:00 PMcheck_sorted
attribute of the stream to False
work? A github issue would be appreciated if it doesn’t.visch
04/03/2023, 8:01 PMcheck_sorted
= False , makes it so the replication_key_value isn't incremented along.alexander_butler
04/03/2023, 8:02 PMvisch
04/03/2023, 8:03 PMis_sorted
and check_sorted
oh my I thought they were the same thingvisch
04/03/2023, 8:03 PMedgar_ramirez_mondragon
04/03/2023, 8:05 PMcheck_sorted = False
makes this expression true:
old_rk_value is None or not check_sorted or new_rk_value >= old_rk_value:
so it’ll increment the replication keyvisch
04/03/2023, 8:05 PMis_sorted
= True, and check_sorted
= False should give me what I'm after.
I'm wrong! I didn't see the is / checked on my multiple reads through this some how!!visch
04/03/2023, 8:05 PMalexander_butler
04/03/2023, 8:05 PMvisch
04/03/2023, 8:06 PMedgar_ramirez_mondragon
04/03/2023, 8:07 PMvisch
04/03/2023, 8:11 PMvisch
04/03/2023, 8:40 PMDenis I.
04/03/2023, 10:18 PMis_sorted=True
/ check_sorted=False
didn’t help though.
Is there a way to preserve the last successful state’s key to run from it again after the stream is interrupted?