Skip to content

DatabricksSubmitRunOperator with deferrable=True doesn’t work in Airflow 3 #55632

@FrankPortman

Description

@FrankPortman

Apache Airflow Provider(s)

databricks

Versions of Apache Airflow Providers

Latest for databricks

Apache Airflow version

3.0.4

Operating System

Any

Deployment

Astronomer

Deployment details

N/A

What happened

RuntimeError: You cannot use AsyncToSync in the same thread as an async event loop - just await the async function directly.

Looks to be the same issue as #53447

What you think should happen instead

It should work. This codepath being completely incompatible with Airflow 3 is not documented or anticipated.

How to reproduce

Try to use DSRO in deferrable mode.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions