-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Update Databricks API from 2.0 to 2.1 #19412
Conversation
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
Yeah @Mokubyow - can you please remove the changelog entry ? Also - question (just to confirm) - the 2.1 API is fully backwards compatible with 2.0 in the way we use it ? |
It would be nice to add support for multi-task jobs which is primary reason for 2.1 API... Although maybe it makes sense to wait until for a new functionality |
Yeah. Let's split it to separate PR. |
I agree. And it will makes sense to wait a bit - there will be improvements in the near future |
Co-authored-by: eladkal <45845474+eladkal@users.noreply.github.com>
Some statuc checks failing @Mokubyow - I recommend using pre-commit to fix them |
@potiuk Looks like the pre-commit worked |
Awesome work, congrats on your first merged pull request! |
Any APIs that are not under the |
This PR updates the Databricks API version from 2.0 to 2.1. Of the nine available endpoints in the DatabricksHook, these seven are not in use and do not map to any operators.
The remaining two endpoints map to a single operator each and the request structure is either unchanged or compatible when moving from version 2.0 to 2.1 according to this doc https://docs.databricks.com/data-engineering/jobs/jobs-api-updates.html#api-client-guide