airflow
airflow copied to clipboard
SqlSensor parameter fails to capture the replication lag
Description
Hi, We need to run the pipeline when there is no replication lag in MySQL database. for this we need to use SqlSensor with SHOW SLAVE STATUS command. The success and the failure callback takes the first cell only and there is no other Select query to get the Seconds_Behind_Master only. Please extend the Sensor for querying the complete dataframe.
Use case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct