Skip to main content

Community

Other: Dependency on upstream jobs in transformation scheduling

Answered

Please sign in to leave a comment.

Comments

3 comments

  • Official comment

    Hi Siva,

    If you are trying to use Terraform or our REST API, you can use select the field schedule_type as 'TIME_OF_DAY', and then select the days and time_of_day field values, you should be able to accomplish what you're looking for. 

    You can see more details in the field params here: https://fivetran.com/docs/rest-api/transformations-for-dbt-core-management#payloadparameters_2

    If you want to do it via the UI, just set the schedule to custom and frequency for 24 hours and that will allow you to specify a time of day. 

    Lemme know if that doesn't cover it!

    Jimmy

    Thanks for your response, Jimmy. The connector is currently scheduled to run every 24 hours. However, the requirement is to establish a time-based dependency and run only after upstream connector sync is complete. 

    Hi Siva,

    Apologies, I realize I misread this. If you have the following scenario:

    • Connector Syncs every 15 minutes
    • Transformation is scheduled to run at 12AM every day

    And you want the transformation to run after the 12am sync of the connector, we already account for this scenario. We won't run the transformation until the connector has finished syncing data. You can read more about this here under custom scheduling: https://fivetran.com/docs/transformations/transformation-scheduling#customscheduling