alexott commented on issue #21377:
URL: https://github.com/apache/airflow/issues/21377#issuecomment-1038881564


   @besenthil we don't have stubs for testing, so you need to have access to a 
workspace with Dataricks SQL, plus corresponding permissions to create SQL 
Endpoints.
   
   From implementation perspective, you need to use [`_do_api_call` 
function](https://github.com/apache/airflow/blob/main/airflow/providers/databricks/hooks/databricks.py#L294)
 - first POST definition of SQL Endpoint, and then check for it's status. 
Please note that request will fail if you submit an endpoint with the same 
name, so you will need to check it (I have a code for that in PR for Databricks 
SQL Operator)


-- 
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