diff --git a/airflow/providers/common/sql/operators/sql.py b/airflow/providers/common/sql/operators/sql.py index 6788d9720cfe5..411f540f76808 100644 --- a/airflow/providers/common/sql/operators/sql.py +++ b/airflow/providers/common/sql/operators/sql.py @@ -269,7 +269,7 @@ class SQLTableCheckOperator(BaseSQLOperator): sql_check_template = """ SELECT '_check_name' AS check_name, MIN(_check_name) AS check_result - FROM(SELECT CASE WHEN check_statement THEN 1 ELSE 0 END AS _check_name FROM table) + FROM(SELECT CASE WHEN check_statement THEN 1 ELSE 0 END AS _check_name FROM table) AS check_table """ def __init__(