You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/16 08:55:37 UTC

[GitHub] [airflow] JavierLopezT edited a comment on pull request #17576: Add pre/post execution hooks

JavierLopezT edited a comment on pull request #17576:
URL: https://github.com/apache/airflow/pull/17576#issuecomment-920716223


   I think this is a great feature
   
   I use custom SnowflakeOperator and S3ToSnowflakeOperator, and it would be great if we can't avoid use them and just have the official operators with pre and post execute callbacks. For instance, our S3ToSnowflake has an argument called _previous_queries_, that will execute a query before the copy for creating a table. Then, we have functions for moving and/or delete s3 files and finally, making a constraint keys check. All those things happen either before or after the code of the current operator, so here is another use case for this functionality. 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org