Databricks Add new hook method#62822
Merged
potiuk merged 1 commit intoMar 12, 2026
Merged
Conversation
Contributor
Author
|
@jroachgolf84 If you're free and interested, since you did the initial API migration, could you take a quick look? Many thanks in advance! |
0cc5edd to
1f48d6b
Compare
1f48d6b to
417170d
Compare
Collaborator
|
Yep, taking a quick look now! |
jroachgolf84
approved these changes
Mar 11, 2026
Collaborator
jroachgolf84
left a comment
There was a problem hiding this comment.
This LGTM! I'm not a committer, so my approval doesn't hold weight in terms of approving the PR.
potiuk
approved these changes
Mar 12, 2026
PascalEgn
pushed a commit
to PascalEgn/airflow
that referenced
this pull request
Mar 12, 2026
Pyasma
pushed a commit
to Pyasma/airflow
that referenced
this pull request
Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
As part of the migration of the Databricks API from 2.1 to 2.2, the
get_runmethod of the hook did not support pagination for specific array properties.We can create Databricks Workflows with more than 100 tasks, but the monitoring of tasks in Airflow fails in random tasks because the
get_runretrieves only 100 tasks. Therefore when we try to check the status of a task we get anKeyErrorSolution
Added a new hook method
get_run_tasksto support pagination on thetasksarray property and solve the problem mentioned above.Links
Databricks API Get a single job run
related: #59189
related: #59217
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.