dan_ladd
08/31/2021, 7:51 PMorders?start_modified_at=2021-06-01T12:00:00&page=1
I set the start date parameter in get_url_params()
by using self.get_starting_timestamp(context)
.
I expected self.get_starting_timestamp(context)
to be constant and return the initial starting state, but since the stream is sorted, it is emitting the incremental state and self.get_starting_timestamp(context)
is always progressing.
The pagination is then thrown off since I am also changing the start_modified_at
at the same time as the page number.
• Is this expected behavior for self.get_starting_timestamp(context)
when the stream is sorted?
• Is there another way to get the initial starting state?visch
08/31/2021, 8:01 PMdan_ladd
08/31/2021, 8:08 PMself.get_starting_timestamp(context)
/ start_modified_at to update midrun on each call.visch
08/31/2021, 8:09 PMmodified_at
visch
08/31/2021, 8:20 PMdan_ladd
08/31/2021, 8:26 PMdan_ladd
08/31/2021, 8:40 PMmeltano elt
run would pick up from where the incremental state was interrupted.
This feature might be to recover and resume within the same run.aaronsteers
08/31/2021, 9:55 PMIs this expected behavior forNo, this sounds like a bug to me. I think get_starting_timestamp() should be cached. I'm opening an issue...when the stream is sorted?self.get_starting_timestamp(context)
aaronsteers
08/31/2021, 9:59 PM