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
   
   We 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: [email protected]

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


Reply via email to