Mokubyow opened a new pull request #19412:
URL: https://github.com/apache/airflow/pull/19412


   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.
   
   ```
   [NOT IN USE] api/2.1/clusters/restart => None
   [NOT IN USE] api/2.1/clusters/start => None
   [NOT IN USE] api/2.1/clusters/delete => None
   [NOT IN USE] api/2.1/jobs/runs/get => None
   [NOT IN USE] api/2.1/jobs/runs/cancel => None
   [NOT IN USE] api/2.1/libraries/install => None
   [NOT IN USE] api/2.1/libraries/uninstall => None
   ```
   
   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
   
   ```
   [COMPATIABLE] api/2.1/jobs/runs/submit => DatabricksSubmitRunOperator
   [UNCHANGED] api/2.1/jobs/run-now  => DatabricksRunNowOperator
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to