Skip to content

google providers 10.19.0 bigquery operators directly depends on openlineage package #40043

Closed

Description

@ahidalgob

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?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. boring-cyborg commented on Jun 4, 2024

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  2. added
    provider:googleGoogle (including GCP) related issues
    area:dependenciesIssues related to dependencies problems
    and removed
    needs-triagelabel for new issues that we didn't triage yet
    on Jun 4, 2024
  3. changed the title [-]google providers 10.19.0 directly depends on openlineage package[/-] [+]google providers 10.19.0 bigquery operators directly depends on openlineage package[/+] on Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions