dlt.destinations.impl.databricks.factory
databricks Objects
class databricks(Destination[DatabricksClientConfiguration,
"DatabricksClient"])
__init__
def __init__(credentials: Union[DatabricksCredentials, Dict[str, Any],
str] = None,
is_staging_external_location: bool = False,
staging_credentials_name: str = None,
destination_name: str = None,
environment: str = None,
staging_volume_name: str = None,
create_indexes: bool = False,
**kwargs: Any) -> None
Configure the Databricks destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
credentialsUnion[DatabricksCredentials, Dict[str, Any], str], optional - Credentials to connect to the databricks database. Can be an instance ofDatabricksCredentialsor a connection string in the formatdatabricks://user:password@host:port/databaseis_staging_external_locationbool, optional - If true, the temporary credentials are not propagated to the COPY commandstaging_credentials_namestr, optional - If set, credentials with given name will be used in copy commanddestination_namestr, optional - Name of the destination, can be used in config section to differentiate between multiple of the same typeenvironmentstr, optional - Environment of the destinationstaging_volume_namestr, optional - Name of the staging volume to usecreate_indexesbool, optional - Whether PRIMARY KEY or FOREIGN KEY constrains should be created**kwargsAny - Additional arguments passed to the destination config