Hari Haran R
09/25/2024, 4:44 PMuser
09/25/2024, 4:44 PM1727219212
(which appears to be a UNIX timestamp) and cursor granularity can be set up as follows: yaml incremental_sync: type: DatetimeBasedCursor cursor_field: "created" # replace with your field name datetime_format: "%s" # UNIX timestamp format cursor_granularity: "PT1S" # granularity set to seconds start_datetime: datetime: "{{ config['start_date'] }}" datetime_format: "%Y-%m-%d %H:%M:%S" # replace with your start date format end_datetime: datetime: "{{ today_utc() }}" datetime_format: "%Y-%m-%d" # replace with your end date format step: "P1W" # replace with your desired step start_time_option: field_name: "created_after" # replace with your field name inject_into: "request_parameter" end_time_option: field_name: "created_before" # replace with your field name inject_into: "request_parameter"
This configuration is based on the example provided in a [forum post](https://discuss.airbyte.io/t/3921) discussing handling UNIX timestamps with Low-Code CDK. Please replace the field names and date formats with the ones relevant to your data source.