Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.10.2
What happened?
We use the operator PowerBIDatasetRefreshOperator to refresh our PowerBI datasets. For one of the datasets, the refresh fails (and the refresh status received by the task is "Failed") but the task is marked as SUCCESS.
What you think should happen instead?
The Microsoft API documentation here lists the following status: Unknown, Completed, Failed, Disabled. I think that the task should fail if the refresh status is not "Completed".
In the code here, the operator checks only if there is an error in the request to get the status.
How to reproduce
This bug appears when a Dataset can't be refreshed due to an error in the Dataset. Example: duplicate value in a column supposed to be "Unique"
Operating System
linux
Versions of Apache Airflow Providers
apache-airflow-providers-microsoft-azure==11.1.0
Deployment
Google Cloud Composer
Deployment details
No response
Anything else?
This bug occurs every time we run the operator.
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.10.2
What happened?
We use the operator
PowerBIDatasetRefreshOperatorto refresh our PowerBI datasets. For one of the datasets, the refresh fails (and the refresh status received by the task is "Failed") but the task is marked as SUCCESS.What you think should happen instead?
The Microsoft API documentation here lists the following status: Unknown, Completed, Failed, Disabled. I think that the task should fail if the refresh status is not "Completed".
In the code here, the operator checks only if there is an error in the request to get the status.
How to reproduce
This bug appears when a Dataset can't be refreshed due to an error in the Dataset. Example: duplicate value in a column supposed to be "Unique"
Operating System
linux
Versions of Apache Airflow Providers
apache-airflow-providers-microsoft-azure==11.1.0
Deployment
Google Cloud Composer
Deployment details
No response
Anything else?
This bug occurs every time we run the operator.
Are you willing to submit PR?
Code of Conduct