Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redshift task in running state but SQL execution does not start when OpenLineage is enabled #39969

Closed
1 of 2 tasks
tatiana opened this issue May 31, 2024 · 2 comments
Closed
1 of 2 tasks
Assignees
Labels

Comments

@tatiana
Copy link
Contributor

tatiana commented May 31, 2024

Apache Airflow Provider(s)

openlineage

Versions of Apache Airflow Providers

apache-airflow-providers-openlineage==1.8.0
apache-airflow-providers-common-sql==1.12.0
apache-airflow-providers-amazon==8.23.0

Apache Airflow version

2.9

Operating System

GNU Linux

Deployment

Astronomer

Deployment details

No response

What happened

A SQLExecuteQueryOperator in an environment with apache-airflow-providers-common-sql==1.12.0 ran into a problem where the SQL execution never starts but the task is running. This issue only presented itself in a specific task in the DAG and not other tasks executing different SQLs.

Once we disabled OpenLineage, the task instance ran successfully. We enabled it again to see if it would fail, and it did.

This issue was observed both when using Snowflake and Redfshift.

It seems #39113 #39890 solves the issue for Snowflake, but we're still missing some work to avoid the issue happening for Redshift.

What you think should happen instead

Enabling OpenLineage should not affect task execution, even if it parsing, processing and emitting OL events fail.

How to reproduce

.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@tatiana tatiana added area:providers kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels May 31, 2024
@eladkal eladkal added provider:amazon-aws AWS/Amazon - related issues good first issue provider:openlineage AIP-53 and removed needs-triage label for new issues that we didn't triage yet labels May 31, 2024
@eladkal
Copy link
Contributor

eladkal commented May 31, 2024

cc @mobuchowski

@mobuchowski mobuchowski self-assigned this May 31, 2024
@mobuchowski
Copy link
Contributor

#40197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants