Hi, I'm Bolo!
What would you like to know?
ASK BOLO
Please to access Bolo.

Table of Contents

Search

  1. Introduction to Databricks Delta Connector
  2. Connections for Databricks Delta
  3. Mappings and mapping tasks with Databricks Delta connector
  4. Databricks Delta pushdown optimization (SQL ELT)
  5. Data type reference

Databricks Delta Connector

Databricks Delta Connector

Configure Spark parameters

Configure Spark parameters

Before you use the Databricks SQL warehouse to run mappings, configure the Spark parameters for SQL warehouse on the Databricks SQL Admin console.
On the Databricks SQL Admin console, navigate to
SQL Warehouse Settings > Data Security
, and then configure the Spark parameters for AWS or Azure under
Data access configuration
.

Configuration on AWS

Add the following Spark configuration parameters and restart the SQL warehouse:
  • spark.hadoop.fs.s3a.access.key <S3 Access Key value>
  • spark.hadoop.fs.s3a.secret.key <S3 Secret Key value>
  • spark.hadoop.fs.s3a.endpoint <S3 Staging Bucket endpoint value>
For example, the S3 staging bucket warehouse value is
s3.ap-south-1.amazonaws.com
.
Ensure that the configured access key and secret key have access to the S3 buckets where you store the data for Databricks Delta tables.

Configuration on Azure

Add the following Spark configuration parameters and restart the SQL warehouse:
  • spark.hadoop.fs.azure.account.oauth2.client.id.<storage-account-name>.dfs.core.windows.net <value>
  • spark.hadoop.fs.azure.account.auth.type.<storage-account-name>.dfs.core.windows.net OAuth
  • spark.hadoop.fs.azure.account.oauth2.client.secret.<storage-account-name>.dfs.core.windows.net <Value>
  • spark.hadoop.fs.azure.account.oauth.provider.type.<storage-account-name>.dfs.core.windows.net org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider
  • spark.hadoop.fs.azure.account.oauth2.client.endpoint.<storage-account-name>.dfs.core.windows.net https://login.microsoftonline.com/<Tenant ID>/oauth2/token
Ensure that the configured client ID and client secret have access to the file systems where you store the data for Databricks Delta tables.

0 COMMENTS

We’d like to hear from you!