I have an airflow comprising of 2-3 steps
- PythonOperator --> It runs the query on AWS Athena and stores the generated file on specific s3 path
- BashOperator --> Increments the airflow variable for tracking
- BashOperator --> It takes the output(response) of task1 and and run some code on top of it.
What happens here is the airflow gets completed within seconds even if the Athena query step is running.
I want to make sure that after the file is generated further steps should run. Basically i want this to be synchronous.