JDarDagran commented on issue #34218:
URL: https://github.com/apache/airflow/issues/34218#issuecomment-1712251647
#34122 works fine
#33959 does not work properly, for `DbtCloudRunJobOperator` it raises:
```
[2023-09-08, 21:36:05 UTC] {base.py:152} ERROR - OpenLineage provider method
failed to extract data from provider.
Traceback (most recent call last):
File
"/usr/local/lib/python3.8/site-packages/airflow/providers/openlineage/extractors/base.py",
line 137, in _get_openlineage_facets
facets: OperatorLineage = get_facets_method(*args)
File
"/usr/local/lib/python3.8/site-packages/airflow/providers/dbt/cloud/operators/dbt.py",
line 229, in get_openlineage_facets_on_complete
return generate_openlineage_events_from_dbt_cloud_run(operator=self,
task_instance=task_instance)
File
"/usr/local/lib/python3.8/site-packages/airflow/providers/dbt/cloud/utils/openlineage.py",
line 60, in generate_openlineage_events_from_dbt_cloud_run
run_id=operator.run_id, account_id=operator.account_id,
include_related=["run_steps,job"]
AttributeError: 'DbtCloudRunJobOperator' object has no attribute 'run_id'
```
I'll raise an issue and try to solve this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]