airflow icon indicating copy to clipboard operation
airflow copied to clipboard

SqlSensor parameter fails to capture the replication lag

Open amolsr opened this issue 1 year ago • 0 comments

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

amolsr avatar Feb 15 '24 09:02 amolsr