josh-fell commented on a change in pull request #18278:
URL: https://github.com/apache/airflow/pull/18278#discussion_r709600540



##########
File path: airflow/providers/amazon/aws/example_dags/example_s3_to_redshift.py
##########
@@ -72,14 +71,12 @@ def _remove_sample_data_from_s3():
         postgres_conn_id='redshift_default',
         task_id='teardown__drop_table',
     )
-    teardown__task_remove_sample_data_from_s3 = PythonOperator(
-        python_callable=_remove_sample_data_from_s3, 
task_id='teardown__remove_sample_data_from_s3'
-    )
+
     (
-        [setup__task_add_sample_data_to_s3, setup__task_create_table]
+        [_add_sample_data_to_s3(), setup__task_create_table]

Review comment:
       Sounds good; will update this and the DAG with a similar comment.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to