feluelle edited a comment on issue #7585: [AIRFLOW-6944] Allow AWS DataSync to "catch up" when Task is already … URL: https://github.com/apache/airflow/pull/7585#issuecomment-602034547 > > > > 1. Wait for task to be able to be started - implemented in the DataSync Operator. > > 2. Wait for task execution to be completed - implemented in the DataSync hook. (Task execution is what you get from AWS after triggering a Task to start) > > > > What is your recommendation to standardise these? > > I would say that we should not wait for task to be able to start. If something has to happen before the task we should use sensor or wait for the completion in the upstream operator. For example in case of `CreateResource >> UseResource` the `CreateResource` op should check if the resource was successfully created. This is the approach we use in GCP operators/hooks. I think both options are useful to have. To https://github.com/apache/airflow/pull/7410 (Tableau Integration) I added a `blocking` parameter which in case is set to True enables a sensor task. If set to False it does not wait (=async). See: https://github.com/apache/airflow/pull/7410/files#diff-4f65033904d8c2b6c064e959d218d513R71
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
