ENTITY_METADATA namespace
Reference documentation for the ENTITY_METADATA namespace containing raw metadata tables for all Atlan assets
The ENTITY_METADATA namespace contains the raw metadata tables that map directly to the Atlan metamodel. Each asset type is stored in its own table—for example, table, column, view, and others. Use this page to understand how these tables are organized and where to look for different types of assets.
On most tenants, this namespace is named entity_metadata. On tenants onboarded before February 2026, it's named atlan-ns. List the namespaces in your Lakehouse catalog to confirm the name on your tenant before you build queries or connection configs against it.
If your Atlan tenant has no assets of a particular type, the corresponding table in entity_metadata is empty. This is expected. For example, if you don't use Airflow, the airflowdag table has 0 rows. To find your data, query the table that matches the asset type you're looking for.
The ENTITY_HISTORY namespace behaves differently: it has no table for an asset type that has never had assets.
If you query the Lakehouse through the Snowflake catalog integration, empty tables aren't listed in Snowflake at all. They appear once they contain data. See Table is missing from Snowflake.
For the complete metamodel and entity hierarchy, see the Atlan Developer model reference.
Entity categories in ENTITY_METADATA
The ENTITY_METADATA namespace groups tables by high-level categories:
- Core assets: Fundamental data assets from relational databases and data warehouses. Example entity types include
Table,Column,Database,Schema, andView. - BI assets: Business intelligence assets from tools such as Tableau, Power BI, and Looker. Example entity types include
BIReport,BIChart, andBIDashboard. - Lineage: Lineage processes and transformations between assets. Example entity types include
Process,BIProcess, andColumnProcess. - Governance: Business glossary, terms, and classifications. Example entity types include
AtlasGlossary,AtlasGlossaryTerm, andTagRelationship. - Custom metadata: User-defined metadata attributes applied to assets, stored in custom metadata relationship tables.
- Data quality: Data quality rules, checks, and monitors. Example entity types include
DataQualityRule,MCMonitor, andSodaCheck. - Pipelines: Data pipeline and orchestration assets. Example entity types include
AirflowDag,DbtProcess, andMatillionJob. - Storage: Object storage assets from cloud providers. Example entity types include
S3Bucket,S3Object, andGCSBucket.
To query across all asset types in a single table, use gold.assets instead of querying individual entity tables.
Table naming and quoting
Tables are named after their entity type in lowercase—for example, the table for Table assets is entity_metadata."table", not entity_metadata.TABLE.
Names that are SQL reserved words (table, column, view, schema, database) must be double-quoted in your query engine (Snowflake, Databricks, BigQuery):
-- Correct
SELECT * FROM entity_metadata."table" LIMIT 10;
-- Incorrect—returns object-not-found error
SELECT * FROM entity_metadata.table LIMIT 10;
Non-reserved names such as lookerexplore or airflowdag don't need quoting.
Note that for connectors that run a full extract-load on every crawl—such as Kafka, Confluent, Schema Registry, and AWS Glue—the updatetime field reflects when the connector last ran, not when the source asset was modified. Every crawl rewrites all assets with the current timestamp, so updatetime isn't a reliable signal for detecting source-side changes on these connector types. To detect real changes, compare asset attributes such as schema or row counts across crawl snapshots instead.
How ENTITY_METADATA tables join
Each table in the ENTITY_METADATA namespace has a single key: guid. The tables are Iceberg tables, so they declare no foreign keys. Instead, each table holds the relationships of its entity type as one or more columns, and you build the joins yourself.
Two kinds of columns carry relationships:
- Relationship arrays hold
list<string>values of the related assets'guidvalues, such ascolumnsontable,tableoncolumn, andtablesordatabaseonschema. A single-valued relationship, such as a column's parent table, is a one-element array. To join on a relationship array, flatten the array into one row per element, then match each element toguidon the related table. - Qualified name columns hold the parent asset's qualified name as a plain string, such as
schemaqualifiednameontableandtablequalifiednameoncolumn. These join toqualifiednameon the parent table. Use them when aguidjoin isn't needed, because they avoid the flatten step.
For the full list of relationship columns per entity type, see the data dictionary below.
Example 1, join on a qualified name column. Every table row carries its schema's qualified name in schemaqualifiedname, so this join needs no flattening:
SELECT
t.name AS table_name,
s.name AS schema_name
FROM entity_metadata."table" t
JOIN entity_metadata."schema" s
ON t.schemaqualifiedname = s.qualifiedname
LIMIT 10;
Example 2, join on a relationship array. columns on table is a list<string> of guid values, so flatten it to one row per column guid and match to column.guid:
SELECT
t.name AS table_name,
c.name AS column_name
FROM entity_metadata."table" t,
LATERAL FLATTEN(input => t.columns) f
JOIN entity_metadata."column" c
ON f.value::STRING = c.guid
LIMIT 10;
The flatten syntax in the second example is Snowflake. In Databricks, use explode as a lateral table reference. Backticks delimit the reserved table names:
SELECT
t.name AS table_name,
c.name AS column_name
FROM entity_metadata.`table` t,
LATERAL explode(t.columns) AS f(column_guid)
JOIN entity_metadata.`column` c
ON f.column_guid = c.guid
LIMIT 10;
Data dictionary
Use the split-panel data dictionary below to explore entity types by domain and use case. Start by filtering with Explore (by domain) and Use cases, then select an entity type from the left pane to see:
- A concise data dictionary row with the entity type, Lakehouse table, key attributes, and relationships
- Example Lakehouse queries shown in expandable sections
Browse ENTITY_METADATA entity types by domain and use case. Select an entity type to see its data dictionary row and example Lakehouse queries.
Select an item
Choose an item from the list to view details