dbarrundiag opened a new pull request #19665:
URL: https://github.com/apache/airflow/pull/19665
This commit adds new exciting features to the Airflow AWS Redshift module:
#1 - Adding a `wait_for_state` method to the Redshift hook
Similar to the EC2 hook in `airflow/providers/amazon/aws/hooks/ec2.py`, this
commit implements a `wait_for_state` function in the redshift module
`airflow/providers/amazon/aws/hooks/redshift.py`. This will allow developers to
leverage this hook to have workflows that depend on the status of a redshift
cluster
#2 - New Operators to manage the status of a Redshift Cluster
Additionally we are implementing two new Operators:
`RedshiftResumeClusterOperator` and `RedshiftPauseClusterOperator`. These
operators will let developers leverage Airflow to resume and pause Redshift
clusters before/after loading data to optimize for costs.
--
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]