Shayan Nathan
10/31/2023, 7:50 PMkapa.ai
10/31/2023, 7:51 PMyaml incremental_sync: type: DatetimeBasedCursor cursor_field: "created" datetime_format: "%s" cursor_granularity: "PT1S" start_datetime: datetime: "{{ config['start_date'] }}" datetime_format: "%Y-%m-%d %H:%M:%S" end_datetime: datetime: "{{ today_utc() }}" datetime_format: "%Y-%m-%d" step: "P1W" start_time_option: field_name: "created_after" inject_into: "request_parameter" end_time_option: field_name: "created_before" inject_into: "request_parameter" In this configuration, the datetime_format: "%s" line is used to interpret the UNIX timestamp. You can find more details about this in the [forum post](https://discuss.airbyte.io/t/3921) where this was discussed.Shayan Nathan
10/31/2023, 9:03 PMkapa.ai
10/31/2023, 9:04 PMkapa.ai
10/31/2023, 9:04 PMinteger and timestamp types are mapped to number and string types respectively in Airbyte. In the case of the Zuora source: - integer is mapped to number - timestamp is mapped to number (which is a number representation of the UNIX timestamp) For the Amazon Seller Partner source: - int is mapped to number - datetime is mapped to datetime While these mappings don't directly convert integers to datetime, they do provide a way to handle timestamps and integers in your data. If you need to convert these number types (UNIX timestamps) to datetime in your destination, you would typically handle this transformation in your data warehouse or data lake after the data has been synced. For more information, you can refer to the following documentation: - [Zuora Source](https://docs.airbyte.com/integrations/sources/zuora) - [Amazon Seller Partner Source](https://docs.airbyte.com/integrations/sources/amazon-seller-partner)Shayan Nathan
11/01/2023, 7:00 PMkapa.ai
11/01/2023, 7:00 PMkapa.ai
11/01/2023, 7:01 PM