https://linen.dev logo
#singer-tap-development
Title
# singer-tap-development
d

dan_ladd

08/31/2021, 7:51 PM
Hey everyone, I have an incremental sorted stream that has a request like
Copy code
orders?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?