class monad.ui.config.DatabricksConfig
monad.ui.config.DatabricksConfigDefines the location of the data source in Databricks.
from monad.config import DatabricksConfig
DatabricksConfig(
host="${DATABRICKS_HOST}",
warehouse_id="${DATABRICKS_WAREHOUSE_ID}",
client_id="${DATABRICKS_CLIENT_ID}",
client_secret="${DATABRICKS_CLIENT_SECRET}",
catalog="some_catalog",
db_schema="some_schema",
)| Parameters |
|---|
host : str
Server Hostname value for your cluster or SQL warehouse.
warehouse_id : str
HTTP Path value for your cluster or SQL warehouse.
token : str | None
Default: None
Databricks personal access token.
client_id: str | None
Default: None.
Client id. Can't be set if token is set.
client_secret: str | Nine
Default: None
Client secret. Can't be set if token is set.
catalog : str | None
Default: None
Initial catalog to use for the connection.
db_schema : str | None
Default: "default"
Initial schema to use for the connection.
