Incremental Sync #42534
Replies: 1 comment
-
|
I experienced similar symptoms in a slightly different scenario - with stream partitions. Check this article: My issue was due to different datetime format between cursor_datetime_formats and datetime_format (the format sent to the API). I got the issue resolved by creating a column that contains the partition. With you the formats are the same, however I think it would still help if you add end_datetime, step and cursor_granularity. Hope this helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone. I'm struggling to develop a connector with incremental sync using the ui builder.
As an example i've developed a simple rest api which expose a single endpoint returning a bunch of mocked data. Here an example:
[ { "id": 0, "name": "Darlene", "surname": "Hall", "timestamp": "2024-07-26T10:55:04" }, { "id": 1, "name": "William", "surname": "Martinez", "timestamp": "2024-07-26T23:28:26" } ]I need to "incremental sync" based on timestamp. Here the connector yaml:
Here the config for the Incremental sync:

The problem here is that the state seems to be not updated. In fact, when i test the connector, the api returns data correctly, but the connector state seems to be empy:
[ { "type": "STREAM", "stream": { "stream_descriptor": { "name": "Data" }, "stream_state": {} }, "sourceStats": { "recordCount": 10 } } ]Anyone who can help me?
Beta Was this translation helpful? Give feedback.
All reactions