databricks / databricks-sdk-py

Databricks SDK for Python (Beta)
https://databricks-sdk-py.readthedocs.io/
Apache License 2.0
327 stars 108 forks source link

Make error handling more user friendly for common accidental mistakes by showing resolution steps #51

Open tanmay-db opened 1 year ago

tanmay-db commented 1 year ago

This is mostly a nice to have. Example -- running dbutils.help() without setting up cluster throws: databricks.sdk.core.DatabricksError: Missing required field: cluster_id

We could add something along the lines of how to setup cluster, point to the relevant docs.

Full error stack:

image
VishnuT-Procore commented 2 months ago

@tanmay-db - If this is not worked and needed. can I pick this issue ?