You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/07/16 12:47:08 UTC

[GitHub] [airflow] alexott commented on a diff in pull request #24617: Add test_connection method to Databricks hook

alexott commented on code in PR #24617:
URL: https://github.com/apache/airflow/pull/24617#discussion_r922676683


##########
airflow/providers/databricks/hooks/databricks.py:
##########
@@ -52,6 +52,8 @@
 
 RUN_LIFE_CYCLE_STATES = ['PENDING', 'RUNNING', 'TERMINATING', 'TERMINATED', 'SKIPPED', 'INTERNAL_ERROR']
 
+LIST_ZONES_ENDPOINT = ('GET', 'api/2.0/clusters/list-zones')

Review Comment:
   That was not very good choice as it's only available on AWS, and will fail on Azure & GCP databricks



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org