For the complete documentation index, see llms.txt. This page is also available as Markdown.

Databricks Integration Discovered Resources

Overview

The Euno Databricks integration discovers Unity Catalog metadata, notebooks, usage, and lineage in a Databricks workspace. It discovers the following resources:

  • Databricks workspace (databricks_workspace)

  • Unity Catalog database, or catalog (database)

  • Unity Catalog schema (database_schema)

  • Databricks table (table, subtypes base_table, external_table, view, materialized_view)

  • Databricks column (column)

  • Databricks notebook (databricks_notebook)

Warehouse resources (catalogs, schemas, tables, and columns) use the URI prefix databricks.<hostname>. The workspace and notebooks use the prefix platform.databricks.databricks_workspace.<hostname>. <hostname> is the Override Base URI when it is set, and the Server Hostname otherwise.

Resource hierarchy

Databricks Workspace
├── Catalog (Database)
│   └── Schema
│       └── Table / View / Materialized View / External Table
│           └── Column
└── Notebook

Databricks workspace (databricks_workspace)

The Databricks workspace that the source connects to. It is the top-level container for catalogs and notebooks.

Property
Type
Description

name

string

Workspace display name (from configuration; defaults to hostname if Workspace Name is not set).

type

string

Always databricks_workspace.

subtype

string

Always databricks_workspace.

description

string

Short generated description that includes the workspace hostname.

database_technology

string

Always databricks.

URI pattern

Example: platform.databricks.databricks_workspace.dbc-50e7cad0-c2f9.cloud.databricks.com

Unity Catalog database (database)

A Unity Catalog catalog, which groups schemas.

Property
Type
Description

name

string

Catalog name.

type

string

Always database.

subtype

string

Always database.

database_technology

string

Always databricks.

description

string

Catalog comment from Unity Catalog, when present.

owner

string

Email of the first catalog owner. Derived. Empty when Unity Catalog records the owner without an email.

created_at / updated_at

timestamp

Catalog timestamps when available.

created_by / updated_by

string

Creator and last modifier when available.

tags

list

Tag names with empty or null values.

meta

object

Tag key–value pairs when values are non-empty.

URI pattern

Example: databricks.dbc-50e7cad0-c2f9.cloud.databricks.com.main

Unity Catalog schema (database_schema)

A schema within a Unity Catalog catalog, which groups tables and views.

Property
Type
Description

name

string

Schema name.

type

string

Always database_schema.

subtype

string

Always database_schema.

database_technology

string

Always databricks.

database

string

Catalog name.

description

string

Schema comment when present.

owner

string

Email of the first schema owner. Derived. Empty when Unity Catalog records the owner without an email.

created_at / updated_at

timestamp

Schema timestamps when available.

created_by / updated_by

string

Creator and last modifier when available.

tags

list

Tag names with empty or null values.

meta

object

Tag key–value pairs when values are non-empty.

URI pattern

Example: databricks.dbc-50e7cad0-c2f9.cloud.databricks.com.main.sales

Databricks table (table)

A table, view, materialized view, or external table in a Unity Catalog schema. Databricks table resources use these subtypes: base_table, external_table, view, materialized_view.

Property
Type
Description

name

string

Table or view name.

type

string

Always table.

subtype

string

One of base_table, external_table, view, materialized_view.

database

string

Catalog name.

database_schema

string

Schema name.

database_technology

string

Always databricks.

description

string

Table or view comment when present.

owner

string

Email of the first owner. Derived. Empty when Unity Catalog records the owner without an email.

created_at / updated_at

timestamp

Object timestamps when available.

created_by / updated_by

string

Creator and last modifier when available.

tags

list

Tag names with empty or null values.

meta

object

Tag key–value pairs when values are non-empty.

sql_dialect

string

SQL dialect (databricks).

platform_uri_prefix

string

URI prefix for this workspace (databricks.<hostname>).

table_properties.materialized

boolean

Whether the object is materialized, derived from Databricks table type and view metadata.

table_schema

object

Structured column list for observed columns.

databricks_contains_masked_columns

boolean

Indicates that at least one column in the table or view is protected by a column mask.

databricks_masked_column_count

number

Number of columns in the table or view protected by a column mask.

databricks_masking_refreshed_at

timestamp

Timestamp when Euno last refreshed Databricks column-mask metadata for the resource.

total_read_queries_14d / _30d / _60d

number

Number of read queries.

total_read_runtime_14d / _30d / _60d

number

Total active compute runtime (ms) for read queries.

total_read_bytes_processed_14d / _30d / _60d

number

Total read bytes.

distinct_users_14d / _30d / _60d

number

Distinct users running read queries.

total_read_dbu_14d / _30d / _60d

number

Total Databricks read DBU-seconds (compute-time proxy). Derived from query-history active compute time.

average_read_dbu_14d / _30d / _60d

number

Average read DBU-seconds per read query. Derived from query-history active compute time.

total_write_queries_14d / _30d / _60d

number

Number of write queries. See Write usage applicability.

total_write_runtime_14d / _30d / _60d

number

Total active compute runtime (ms) for write queries.

total_write_bytes_processed_14d / _30d / _60d

number

Total bytes processed by write queries.

Read usage properties apply to all table subtypes (base_table, external_table, view, materialized_view).

URI pattern

Example: databricks.dbc-50e7cad0-c2f9.cloud.databricks.com.main.sales.orders

Write usage applicability

Write applicability follows Databricks table_type classification:

Observed subtype

Databricks table_type values

Write usage applicable?

Behavior

view

VIEW, METRIC_VIEW

No

Write metrics are emitted as zeros each crawl to clear stale values.

materialized_view

MATERIALIZED_VIEW

Yes

Write metrics from write statements; zero-filled when there is no in-window activity.

base_table

MANAGED, STREAMING_TABLE, MANAGED_SHALLOW_CLONE

Yes

Same as materialized view.

external_table

EXTERNAL, EXTERNAL_SHALLOW_CLONE, EXTERNAL_TABLE

Yes

Same as materialized view.

external_table

FOREIGN

No

Write metrics are not applicable.

Databricks column (column)

A column in a Databricks table or view.

Property
Type
Description

name

string

Column name.

type

string

Always column.

subtype

string

Always column.

description

string

Column comment when present.

database

string

Catalog name.

database_schema

string

Schema name.

database_technology

string

Always databricks.

native_data_type

string

Native Databricks data type.

normalized_data_type

string

Euno-normalized data type.

databricks_masking_policy

list

Column masks protecting the column: the mask function for directly assigned masks, or the ABAC masking policy for tag-driven masks.

databricks_masking_source

list

How the mask is attached: direct (assigned with SET MASK) or abac_policy (applied by an ABAC column-mask policy through a governed tag).

databricks_is_masked

boolean

Indicates that the column is protected by a column mask.

databricks_masking_refreshed_at

timestamp

Timestamp when Euno last refreshed Databricks column-mask metadata for the resource.

total_read_queries_14d / _30d / _60d

number

Distinct statements that read the column.

distinct_users_14d / _30d / _60d

number

Distinct users reading the column.

URI pattern

Example: databricks.dbc-50e7cad0-c2f9.cloud.databricks.com.main.sales.orders.column.order_id

Column masking

Detailed masking information — the effective mask, the attachment source, the governed tag that triggered an ABAC mask, and any additional attachments — appears in the Data Model's shared Masking Policy section, which presents Databricks and Snowflake masking side by side.

Column masks are discovered from system.information_schema.column_masks (direct masks) and from ABAC column-mask policies listed through the Unity Catalog policies API on each observed schema and table. Schema listing includes inherited catalog policies, while table listing captures policies attached directly to that table. ABAC policies are resolved to columns by evaluating their MATCH COLUMNS conditions against the governed tags set directly on each column (governed tags do not propagate to individual columns in Databricks); WHEN conditions are evaluated against table tags, including tags inherited from the parent catalog and schema.

Databricks notebook (databricks_notebook)

A notebook in the Databricks workspace, discovered through the Workspace API.

Property
Type
Description

name

string

Notebook display name (path basename).

type

string

Always databricks_notebook.

subtype

string

Always databricks_notebook.

native_id

string

Databricks notebook object ID.

created_at / updated_at

timestamp

Notebook object timestamps from the Workspace API.

description

string

Notebook description when the API provides it.

native_last_data_update

timestamp

Latest observed execution time from query history evidence.

URI pattern

Example: platform.databricks.databricks_workspace.dbc-50e7cad0-c2f9.cloud.databricks.com.notebook.1234567890123456

Relationships

Each row is one relationship edge, written in the canonical direction for its family. Use the predicate in each heading to search for these relationships in EQL.

Containment (has parent / has child)

Source type
Relationship
Target type
Notes

database

has parent

databricks_workspace

database_schema

has parent

database

table

has parent

database_schema

column

has parent

table

databricks_notebook

has parent

databricks_workspace

Lineage (has upstream / has downstream)

Source type
Relationship
Target type
Notes

table

has upstream

table

Views and materialized views: tables and views referenced in the view definition SQL. Other tables: warehouse lineage from system.access.table_lineage (30-day lookback).

databricks_notebook

has upstream

table

Tables the notebook reads, from table lineage with notebook context.

Field-level lineage (has upstream_fields / has downstream_fields)

Source type
Relationship
Target type
Notes

column

has upstream_fields

column

View columns: parsed from the view definition SQL. Other columns: warehouse column lineage from system.access.column_lineage (30-day lookback).

table

has upstream_fields

column

Views: columns used in SQL logic such as filters and joins. See Statement-level column dependencies for views.

databricks_notebook

has upstream_fields

column

Notebook reporting lineage: source columns referenced in notebook column-lineage evidence. The edge is on the notebook, not on the column.

Definition (defines / has definer)

Source type
Relationship
Target type
Notes

databricks_notebook

defines

table

Tables the notebook is observed to create or update, from table lineage with notebook context.

Discovery inputs

The integration combines multiple Databricks data sources:

  • system.information_schema.* for metadata

  • system.information_schema.column_masks and the tag views (catalog_tags, schema_tags, table_tags, column_tags) for column masking

  • system.query.history for usage and notebook execution evidence

  • system.access.table_lineage for table lineage evidence

  • system.access.column_lineage for regular column-level lineage and notebook reporting evidence

  • Workspace API for notebook discovery

  • Unity Catalog policies API for ABAC column-mask policies

System exclusions

The crawler skips catalog discovery for information_schema and hive_metastore, and for catalogs owned by System user. Metadata queries for tables, schemas, and related objects exclude the system and samples catalogs and the information_schema schema.

Statement-level column dependencies for views

For Databricks views, Euno also captures statement-level column dependencies and reflects them as table-level upstream field relationships (table has upstream_fields column).

That means a view can show upstream field relationships to columns used only in SQL logic (for example filters), not only columns in the SELECT list.

Included SQL logic clauses:

  • JOIN conditions

  • WHERE

  • GROUP BY

  • HAVING

  • QUALIFY

  • ORDER BY

Example: for SELECT order_id FROM orders_raw WHERE order_status = 'COMPLETE', the view can relate upstream to orders_raw.column.order_status even when order_status is not projected.

Known limitations

  • Notebook execution evidence and notebook-derived relationships use system.query.history, system.access.table_lineage, and system.access.column_lineage with a 30-day lookback window.

  • Regular Databricks table and column lineage read from system.access.table_lineage and system.access.column_lineage with a 30-day lookback.

  • Table and column usage metrics use 14d, 30d, and 60d windows.

  • Usage and lineage relationships are emitted only for resources observed in the current integration scope.

  • Notebook discovery uses the Workspace API and requires the token's workspace scope. When that scope is missing, Euno skips notebook metadata, execution evidence, and notebook relationships for the run, reports a non-fatal warning, and does not clear previously observed notebooks. Warehouse metadata, lineage, and usage still publish. Resource cleanup does not run for that crawl.

Last updated