Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
10.19.0
Apache Airflow version
2.7.0+
Operating System
linux
Deployment
Google Cloud Composer
Deployment details
No response
What happened
pull/39614 refactored _BigQueryOpenLineageMixin and now bigquery operators directly import from openlineage package, even when Open Lineage provider is not installed, so importing any BigQuery operator fails with ImportError
I can create the PR to fix it
What you think should happen instead
Imports should happen lazily, only when get_openlineage_facets_on_complete is called.
How to reproduce
Install Google Providers package 10.19.0 without openlineage package installed
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
10.19.0
Apache Airflow version
2.7.0+
Operating System
linux
Deployment
Google Cloud Composer
Deployment details
No response
What happened
pull/39614 refactored
_BigQueryOpenLineageMixinand nowbigqueryoperators directly import fromopenlineagepackage, even when Open Lineage provider is not installed, so importing any BigQuery operator fails withImportErrorI can create the PR to fix it
What you think should happen instead
Imports should happen lazily, only when
get_openlineage_facets_on_completeis called.How to reproduce
Install Google Providers package 10.19.0 without
openlineagepackage installedAnything else
No response
Are you willing to submit PR?
Code of Conduct