BigQueryValueCheckOperator
doesn't respect pass_value
in deferrable mode
#34010
Labels
area:providers
good first issue
kind:bug
This is a clearly a bug
provider:google
Google (including GCP) related issues
Apache Airflow version
2.7.0
What happened
When running
BigQueryValueCheckOperator
in deferrable mode, the operator always reports a successful status even if thepass_value
has not been met.What you think should happen instead
If the value returned by the SQL given to the operator does not equal the
pass_value
then the operator should fail. This occurs whendeferrable=False
but not when it isTrue
.How to reproduce
The following DAG code should replicate the issue. Both tasks provide some SQL that just returns
false
and with apass_value
ofTrue
. The only difference is the fact that the first task is running in deferrable mode.Some log extracts:
test1
test2
Operating System
n/a
Versions of Apache Airflow Providers
apache-airflow-providers-google==10.7.0
Deployment
Astronomer
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: