ha2hi opened a new pull request, #64766: URL: https://github.com/apache/airflow/pull/64766
### Description Currently, the Databricks provider lacks an operator to delete an existing Databricks job, although the Databricks REST API supports this functionality. This PR introduces the `DatabricksDeleteJobsOperator` to fill this gap. **Changes made:** 1. **DatabricksHook:** Added a `delete_job(self, job_id: int)` method to interact with the `api/2.2/jobs/delete` endpoint. 2. **DatabricksDeleteJobsOperator:** Created the operator using the updated hook. 3. **Unit Tests:** Added comprehensive unit tests in `test_databricks.py` to verify the operator's execution, correct hook initialization with retry arguments, and template fields. -- 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]
