class documentation
class DatabricksConnectionConfig: (source)
Constructors: DatabricksConnectionConfig.databricks_or_serverless(host, token)
, DatabricksConnectionConfig.serverless(host, token)
, DatabricksConnectionConfig.with_cluster_id(cluster_id, host)
, DatabricksConnectionConfig(host, cluster_id, token, azure_client_id, ...)
Undocumented
Static Method | databricks |
Undocumented |
Static Method | serverless |
Undocumented |
Static Method | with |
Undocumented |
Method | __init__ |
Undocumented |
Method | catalog |
Undocumented |
Method | connection |
Undocumented |
Method | sql |
Creates a SQL query source by running the defined query. |
Method | sql |
Creates a SQL query source by reading the file. |
Method | storage |
Undocumented |
Method | with |
Undocumented |
Instance Variable | azure |
Undocumented |
Instance Variable | azure |
Undocumented |
Instance Variable | azure |
Undocumented |
Instance Variable | cluster |
Undocumented |
Instance Variable | host |
Undocumented |
Instance Variable | token |
Undocumented |
def databricks_or_serverless(host:
str | ConfigValue | None
= None, token: str | ConfigValue | None
= None) -> DatabricksConnectionConfig
:
(source)
¶
Undocumented
def serverless(host:
str | ConfigValue | None
= None, token: str | ConfigValue | None
= None) -> DatabricksConnectionConfig
:
(source)
¶
Undocumented
def with_cluster_id(cluster_id:
str | ConfigValue
, host: str | ConfigValue
) -> DatabricksConnectionConfig
:
(source)
¶
Undocumented
def __init__(self, host:
str | ConfigValue
, cluster_id: str | ConfigValue | None
, token: str | ConfigValue | None
, azure_client_id: ConfigValue | None
= None, azure_client_secret: ConfigValue | None
= None, azure_tenant_id: ConfigValue | None
= None):
(source)
¶
Undocumented
def sql_file(self, file:
str | Path
, format_values: dict[ str, str] | None
= None) -> UCSqlSource
:
(source)
¶
Creates a SQL query source by reading the file.
def with_auth(self, token:
str | ConfigValue
, host: str | ConfigValue
) -> DatabricksConnectionConfig
:
(source)
¶
Undocumented