Shubham
10/23/2024, 9:06 AMuser
10/23/2024, 9:06 AMjson { "order_date": ["{{ stream_interval.start_time }}", "{{ stream_interval.end_time }}"] }
This approach uses the stream_interval
variable, which provides access to the current time slice for incremental syncs. The start_time
and end_time
properties of this variable will be dynamically populated with the appropriate values for each request. Remember that the exact format of your dates should match what your API expects. You might need to adjust the datetime format in your incremental sync configuration to ensure this. For more details on custom parameter injection and available variables, you can refer to the [Airbyte documentation on custom parameter injection](https://docs.airbyte.com/connector-development/connector-builder-ui/incremental-sync#custom-parameter-injection). If you need more complex logic or formatting for your dates, you can use Jinja's built-in filters and functions within your expression to manipulate the date strings as needed.Shubham
10/23/2024, 10:09 AM{
"filters": {
"order_date": [
"2024-10-01",
"2024-10-20"
]
}
}
user
10/23/2024, 10:09 AMuser
10/23/2024, 10:09 AMjson { "filters": { "order_date": ["{{ stream_interval.start_time }}", "{{ stream_interval.end_time }}"] } }
This approach uses the stream_interval
variable, which provides access to the current time slice for incremental syncs. The start_time
and end_time
properties of this variable will be dynamically populated with the appropriate values for each request. Remember that the exact format of your dates should match what your API expects. You might need to adjust the datetime format in your incremental sync configuration to ensure this. For more details on custom parameter injection and available variables, you can refer to the [Airbyte documentation on custom parameter injection](https://docs.airbyte.com/connector-development/connector-builder-ui/incremental-sync#custom-parameter-injection). If you need more complex logic or formatting for your dates, you can use Jinja's built-in filters and functions within your expression to manipulate the date strings as needed.