Databricks

Amperity Bridge for Databricks is a first-class integration that enables bi-directional data access between Amperity and Databricks without copying data or scheduling ETL workloads.

A connection between Databricks and Amperity requires configuration steps to be made in both Amperity and Databricks.

About encryption, credentials, and audit logs

Delta Sharing uses end-to-end TLS encryption from client to server to storage account along with short-lived credentials, such as pre-signed URLs, to access data.

Review Databricks documentation for security best practices , including setting token lifetimes for metastores, rotating credentials, applying granularity for shares and recipients, configuring IP access lists, and audit logging.

Audit logging occurs in Databricks and in Amperity.

  • Audit logging in Amperity shows each users actions and interactions along with access to a history of workflows with tasks that use a bridge to connect Amperity and Databricks.

  • Databricks captures Delta Sharing provider events , which includes logging for when a recipient (Amperity) accesses data.

Note

Review Connect Amperity Bridge to Databricks for more information about prerequisites, requirements, and optional configurations for Databricks. All configuration prerequisites must be completed before stepping through this workflow.

To add an inbound bridge

Step one.

On the Identity resolution page in Quick start, from the Add data source dropdown select Databricks.

Add a data source.

This opens the Add bridge dialog box.

Add a bridge for a connection.

Add a name and description for the bridge or select an existing bridge, and then click Confirm.

Step two.

Connect the bridge to Databricks by uploading the credential file that was downloaded from the activation link . There are two ways to upload the credential file:

  1. Uploading the credentials as the second step when adding a bridge. Drop the file into the dialog box or browse to a location on your local machine.

  2. Choosing the Upload credentials option from the Actions menu for a connection.

After the credential file is uploaded, click Continue.

Important

You can download the credential file only once. Recipients should treat the download credential as a secret and must not share it outside of their organization. If you have concerns that a credential may have been handled insecurely you can rotate credentials at any time.

When finished, click Continue. This opens the Select tables dialog box.

Step three.

Use the Select tables dialog box to select any combination of schemas and tables to be connected to Amperity.

Select schemas and tables to be shared.

If you select a schema, all tables in that schema are connected. Any new tables added later need to manually added to the connection.

When finished, click Next. This opens the Domain table mapping dialog box.

Step five.

Map the tables connected from Databricks to domain tables in Amperity.

Map connected tables to domain tables.

Tables connected with Amperity must have unique names among all domain tables. Primary keys are not assigned. Semantic tags are not applied.

Tip

Use a custom domain table to assign primary keys, apply semantic tags, and shape data within connected tables to the requirements of your workflows in Amperity.

When finished, click Save and sync. This will start a workflow that synchronizes data from Databricks to Amperity and creates the mapped table names.

You can manually sync tables connected with Amperity using the Sync option from the Actions menu for the inbound bridge.

Data types

Most Databricks data types are supported by Amperity Bridge.

Important

If an upstream data type changes, edit the bridge in Amperity, accept the changes, and then save and sync the bridge.

The following table describes how Databricks data types map to Amperity data types.

Databricks data type

Amperity data type

ARRAY

A sequence of elements with the type of elementType. Each element must have a data type that maps to a supported Amperity data type.

Array

A sequence of elements with data types and values supported by Amperity data types.

BIGINT

A 64-bit integer.

Integer

A numeric value, such as the quantity of items purchased. For example:

  • 1

  • 12345

BINARY

Variable-length byte sequence values.

Warning

The Databricks BINARY data type is unsupported. Use a view in Databricks to exclude fields with BINARY data types from tables before sharing them with Amperity.

BOOLEAN

A value that can be TRUE, FALSE, or NULL.

Boolean

A value that can be TRUE, FALSE, or NULL.

DATE

Year, month, and day, without a time zone.

Date

An ISO-8601 compliant date value, such as a birthdate. For example:

  • 2021-11-04

DECIMAL (p,s)

A number with a specified maximum precision and fixed scale. Precision is 1-38 and scale is the number of digits to the right of the decimal point. Default precision is 10.

Decimal

A fixed point number, such as for prices or message sizes. The number of characters in the decimal value is configurable. For example:

  • 1.50 (prices)

  • 1874.380 (message sizes)

  • 141.48042 (order subtotals)

DOUBLE

8-byte double-precision floating point numbers.

Float

A floating point number. For example:

  • 3.14

  • 3.14159

FLOAT

4-byte single-precision floating point numbers.

Float

A floating point number. For example:

  • 3.14

  • 3.14159

INT

A 4-byte signed integer.

Integer

A numeric value, such as the quantity of items purchased. For example:

  • 1

  • 12345

INTERVAL

Intervals of time on a scale of seconds or months.

Datetime

  • Sat Aug 23 2025 02:43:55 GMT+0000

  • Fri Aug 22 2025 19:43:55 GMT-0700 (Pacific Daylight Time)

MAP

A set of key-value pairs. Each pair must have a data type that maps to a supported Amperity data type.

Map

A set of key-value pairs that map to supported Amperity data types.

SMALLINT

A 2-byte signed integer ranging from -32,768 to 32,767.

Integer

A numeric value, such as the quantity of items purchased. For example:

  • 1

  • -12345

STRING

Character string values.

String

A sequence of characters, such as first and last names, email addresses, physical addresses, UUIDs and other IDs, phone numbers, zip codes, product names, and descriptions. May be empty. For example:

  • John

  • Smith

  • John Smith

  • johnsmith @ domain.com

  • 123 Main Street

  • 206-555-1111

  • 00002ac0-0915-3cb4-b7c7-5ee192b3bd49

  • ACME

  • pants

  • “A data source that pulls from an Amazon S3 bucket.”

STRUCT

A structure described by a sequence of fields. Each field must have a data type that maps to a supported Amperity data type.

Struct

A sequence of fields.

TIMESTAMP

Values for year, month, day, hour, minute, and second with the session local timezone.

Datetime

ISO-8601 compliant date and time values, such as a purchase or transaction, the time at which data was last updated, or a campaign launch date. For example:

  • Mon Nov 30 2020 16:00:00 GMT-0800 (Pacific Standard Time)

  • Sat Sep 02 2017 14:36:19 GMT-0700 (Pacific Daylight Time)

TINYINT

A 1-byte signed integer ranging from -128 to 127.

Integer

A numeric value, such as the quantity of items purchased. For example:

  • 1

  • -5