You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade the Airflow Databricks provider to use the Databricks jobs API 2.2 #59189
Upgrade the Airflow Databricks provider to use the Databricks jobs API 2.2 from 2.1. Specifically the GET_RUN_ENDPOINT, to allow fetching of the status of all tasks within a workflow with more than 100 tasks. Consequently, the fetching probably needs to be modifed to handle pagination.
Use case/motivation
We are using Airflow to trigger Databricks workflows, but some of our workflows contain more than 100 tasks. The support to create workflows with more than 100 tasks with the Databricks jobs API was added in version 2.2. Therefore, when fetching the status of the tasks Airflow fails because it uses version 2.1. Ultimately, we cannot use Airflow to trigger these workflows with the current Airflow Databricks provider.
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.
I've created a draft PR to upgrade to API v2.2 for all jobs endpoints. All unit-tests are passing (after updating to point to the proper version). However, in order for this to work, we'd need to update the operator to handle more than 100 tasks.
* Are there other tests that need to be done for changes like this?
* Should we update other endpoints point to v2.0 and v2.1?
Unfortunately I am not an expert in databricks API so I have no proper answer for you.
I am not sure what effort would be needed to support more than 100 tasks but also I'd think it might be OK to limit it to 100 for the moment and mark a todo/add a follow-up issue to split the work to a separate PR and not this is maybe a current limitation. Not sure how many DBX workflows really exceed this number. Upgrading for API compatibility sounds more important to me than having "no limits".
Regarding the other endpoints, I'd also assume this would be okay to have a s a follow-up
Also in general I'd hope that the team of DBX itself would have a high interest to keep the integration up-to-date. So alongside the providers contribution model this is a point where I'd expect some DBX maintainers to jump-in.
The handling of more than 100 tasks is the crucial part of this issue for us to be able to use Airflow. I am happy to open another issue for that functionality if it would be better.
Activity
boring-cyborg commentedon Dec 8, 2025
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.
jroachgolf84 commentedon Dec 8, 2025
Happy to take a look at this one!
jroachgolf84 commentedon Dec 8, 2025
I've created a draft PR to upgrade to API v2.2 for all
jobsendpoints. All unit-tests are passing (after updating to point to the proper version). However, in order for this to work, we'd need to update the operator to handle more than 100 tasks.I have a few questions for @jscheffl and @eladkal:
jscheffl commentedon Dec 8, 2025
Unfortunately I am not an expert in databricks API so I have no proper answer for you.
I am not sure what effort would be needed to support more than 100 tasks but also I'd think it might be OK to limit it to 100 for the moment and mark a todo/add a follow-up issue to split the work to a separate PR and not this is maybe a current limitation. Not sure how many DBX workflows really exceed this number. Upgrading for API compatibility sounds more important to me than having "no limits".
Regarding the other endpoints, I'd also assume this would be okay to have a s a follow-up
Also in general I'd hope that the team of DBX itself would have a high interest to keep the integration up-to-date. So alongside the providers contribution model this is a point where I'd expect some DBX maintainers to jump-in.
JonasDoubleU commentedon Dec 9, 2025
The handling of more than 100 tasks is the crucial part of this issue for us to be able to use Airflow. I am happy to open another issue for that functionality if it would be better.
jroachgolf84 commentedon Dec 16, 2025
@JonasDoubleU - I've completed the PR that will upgrade to v2.2. Once that's approved, I'll go ahead and create the PR to handle more than 100 tasks.
dzmitry-belavus commentedon Jan 13, 2026
Hello!
We've tried the new release version (7.8.2) of the provider and it gives 404 for some of the 2.2 endpoints:
aru-trackunit commentedon Jan 13, 2026
#60444
Zinkue commentedon Feb 20, 2026
Hi, sorry for the ping @jroachgolf84
Are you working or will work on this topic?
In case you are not working on it, I would like to take care of this upgrade. I took a look to code and I have an idea.
jroachgolf84 commentedon Feb 20, 2026
@Zinkue - please feel free to work on this!