Stella Ye
07/18/2024, 1:18 AMkapa.ai
07/18/2024, 1:18 AMStella Ye
07/18/2024, 1:36 AMkapa.ai
07/18/2024, 1:36 AMkapa.ai
07/18/2024, 1:36 AMsource_defined_cursor
in AirbyteStream
is set to true, then the source determines the cursor field internally and it cannot be overridden [source](https://docs.airbyte.com/understanding-airbyte/airbyte-protocol#logic-for-resolving-the-cursor-field). If you want to update the cursor field, you would need to set source_defined_cursor
to false and then set the cursor_field
in ConfiguredAirbyteStream
to the field you want to use as the cursor. If cursor_field
is not set, the default_cursor_field
in AirbyteStream
will be used. Here's the logic for resolving the cursor field: - If source_defined_cursor
in AirbyteStream
is true, then the source determines the cursor field internally. It cannot be overridden. If it is false, continue... - If cursor_field
in ConfiguredAirbyteStream
is set, then the source uses that field as the cursor. If it is not set, continue... - If default_cursor_field
in AirbyteStream
is set, then the sources use that field as the cursor. If it is not set, continue... - Illegal - If source_defined_cursor
, cursor_field
, and default_cursor_field
are all false-y, this is an invalid configuration. Please note that the cursor field should be of the correct type as per the [source-defined cursor documentation](https://docs.airbyte.com/understanding-airbyte/connections/incremental-append#source-defined-cursor). Also, nested cursor fields might not be supported due to restrictions for supporting normalization [source](https://github.com/airbytehq/airbyte/issues/36253).Stella Ye
07/18/2024, 1:40 AMkapa.ai
07/18/2024, 1:40 AMkapa.ai
07/18/2024, 1:40 AMsource_defined_cursor
is incorrect, you can report this issue on the Airbyte Github repository. Here are the steps to do so: 1. Visit the [Airbyte Github Issues page](https://github.com/airbytehq/airbyte/issues). 2. Click on the "New issue" button. 3. Choose the appropriate issue template. If you're not sure which one to choose, you can use the "Bug report" template. 4. Fill in the details of the issue in the template. Be sure to include as much information as possible, such as the source connector you're using, the version of Airbyte you're running, and detailed steps to reproduce the issue. Also, include the details about the source_defined_cursor
being incorrect. 5. Click "Submit new issue" to create the issue. The Airbyte team and community will then be able to see your issue and provide help.